From 9f31d094735c2fc9407c078844e6e430a75079bb Mon Sep 17 00:00:00 2001 From: goyuken Date: Tue, 16 Oct 2012 20:21:36 +0000 Subject: [PATCH] nes mapper 165: fix triggered ppu bankswap; Fire Emblem (Ch) looks good now --- .../Consoles/Nintendo/NES/Boards/MMC3_family/Mapper165.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper165.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper165.cs index 751be3cea6..2ea1cc05c2 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper165.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper165.cs @@ -55,12 +55,12 @@ namespace BizHawk.Emulation.Consoles.Nintendo ret = base.ReadPPU(addr); // latch processes for the next read - switch (addr & 0x3ff0) + switch (addr & 0x3ff8) { case 0x0fd0: latch0 = false; break; - case 0x0fe0: latch0 = true; break; + case 0x0fe8: latch0 = true; break; case 0x1fd0: latch1 = false; break; - case 0x1fe0: latch1 = true; break; + case 0x1fe8: latch1 = true; break; } return ret; }