mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-02-03 13:35:26 +01:00
Fix Color correction for MasterSystem
This commit is contained in:
parent
076d7f5162
commit
7016b8125a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user