ohmygod palette endian fix (Twinaphex)

This commit is contained in:
Barry Harris 2013-02-16 11:02:10 +00:00
parent b6bd49d390
commit be5b0d0525
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ INT32 OhmygodCalcPalette()
UINT32* pd; UINT32* pd;
for (i = 0, ps = (UINT16*)OhmygodPaletteRam, pd = OhmygodPalette; i < 0x800; i++, ps++, pd++) { for (i = 0, ps = (UINT16*)OhmygodPaletteRam, pd = OhmygodPalette; i < 0x800; i++, ps++, pd++) {
*pd = CalcCol(*ps); *pd = CalcCol(BURN_ENDIAN_SWAP_INT16(*((UINT16*)ps)));
} }
return 0; return 0;