Fix Color correction for MasterSystem

This commit is contained in:
Francisco Javier Trujillo Mata 2019-02-03 13:31:06 +01:00
parent 076d7f5162
commit 7016b8125a

View File

@ -259,7 +259,7 @@ void PicoDoHighPal555M4(void)
for (i = 0x20/2; i > 0; i--, spal++, dpal++) {
t = *spal;
#ifdef USE_BGR555
t = ((t & 0x00300030)<< 9) | ((t & 0x000c000c)<<6) | (t & 0x00030003);
t = ((t & 0x00030003)<< 3) | ((t & 0x000c000c)<<6) | ((t & 0x00300030)<<9);
#else
t = ((t & 0x00030003)<<14) | ((t & 0x000c000c)<<7) | ((t & 0x00300030)>>1);
#endif