Use the inPalMode function instead of the PC_PAL macro