From 8a94204a2fd2b909754ca32c3ed39a68684bc165 Mon Sep 17 00:00:00 2001 From: nattthebear Date: Fri, 26 May 2023 06:46:56 -0400 Subject: [PATCH] QuickNES: Fix loading 64 color palettes Since ee0992158ddc16397bf2561dcf31a469d41c9cb6, we were using the default palette for deemphasis modes, instead of computing it based off of the input palette. --- .../Consoles/Nintendo/QuickNES/QuickNES.ISettable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.ISettable.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.ISettable.cs index e171164df2..2c17efed1c 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.ISettable.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.ISettable.cs @@ -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] };