From 69d2a99a2cc9eaaf8ca05d338e933ecb1002d1f4 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 5 Nov 2012 06:26:52 +0000 Subject: [PATCH] nes-fix memory map bug, affecting robocop 3 scroll glitches --- BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs index 6b3aed79a2..bdd08a3f69 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs @@ -489,7 +489,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo { ret = ram[addr]; } - else if (addr < 0x1000) + else if (addr < 0x2000) { ret = ram[addr & 0x7FF]; } @@ -525,7 +525,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo { ret = ram[addr]; } - else if (addr < 0x1000) + else if (addr < 0x2000) { ret = ram[addr & 0x7FF]; }