diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs index 74e0406d60..5bac5dbc0a 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs @@ -119,9 +119,10 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES goto loopout; short s = xbuf[j * 256 + i]; - - if ((s & 0x8000)==0) - sum += _currentLuma[s]; + + short palcolor = (short)(s & 0x3F); + short intensity = (short)((s >> 6) & 0x7); + sum += _currentLuma[palcolor]; } } loopout: