QuickNES: Fix loading 64 color palettes

Since ee0992158d, we were using the default palette for deemphasis modes, instead of computing it based off of the input palette.
This commit is contained in:
nattthebear 2023-05-26 06:46:56 -04:00
parent cb721a39da
commit 8a94204a2f
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES
else
{
// use quickNES's deemph calculator
for (int c = 0; c < 64; c++)
for (int c = 0; c < 64 * 8; c++)
{
int a = c & 63;
byte[] inp = { (byte)pal[a, 0], (byte)pal[a, 1], (byte)pal[a, 2] };