From 9411e659bb4beb132f45317b5a335cdd2e475b65 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 6 Mar 2022 01:38:08 -0500 Subject: [PATCH] neshawk - WritePrg really needs to be masking the address... there's no way it's correct, otherwise. --- .../Consoles/Nintendo/NES/Boards/VRC1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs index 925cd2f6b2..b5d6b3c3b9 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs @@ -151,7 +151,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES public override void WritePrg(int addr, byte value) { - switch (addr) + switch (addr & 0xF000) { //0x0F mask on value was removed //technically its out of specs, but some hacks will be adding banks