mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-03-23 04:12:44 +01:00
Fix Color correction for MasterSystem
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user