CPS Palette endian fix from lantus

This commit is contained in:
Barry Harris 2012-02-21 19:56:18 +00:00
parent 3ffd52bae1
commit 71cd973dbb
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ INT32 CpsPalUpdate(UINT8* pNewPal)
for (INT32 nPage = 0; nPage < 6; nPage++) {
if (BIT(nCtrl, nPage)) {
for (INT32 Offset = 0; Offset < 0x200; ++Offset) {
INT32 Palette = *(PaletteRAM++);
INT32 Palette = BURN_ENDIAN_SWAP_INT16(*(PaletteRAM++));
INT32 r, g, b, Bright;
Bright = 0x0f + ((Palette >> 12) << 1);