ohmygod palette endian fix (Twinaphex)
This commit is contained in:
parent
b6bd49d390
commit
be5b0d0525
|
@ -601,7 +601,7 @@ INT32 OhmygodCalcPalette()
|
|||
UINT32* 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;
|
||||
|
|
Loading…
Reference in New Issue