From 57d612f4b40c2ab7568467aec91d460a6d4e29f0 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Tue, 8 Apr 2025 14:00:43 +1000 Subject: [PATCH] Allow NesHawk to load MMC5 w/ 128KiB WRAM from NES 2.0 headers don't think this is working correctly but it doesn't crash --- .../Consoles/Nintendo/NES/Boards/ExROM.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/ExROM.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/ExROM.cs index 7122b1563f..2eb3fab5ab 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/ExROM.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/ExROM.cs @@ -96,6 +96,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES case "MAPPER005": Cart.WramSize = 64; break; + case "MAPPER0005-00": // from NES 2.0 extension + break; case "NES-ELROM": //Castlevania 3 - Dracula's Curse (U) case "HVC-ELROM": AssertPrg(128, 256); AssertChr(128); @@ -184,7 +186,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES return null; else return bank & 3; - case 64: + case 64 or 128: return bank; default: throw new Exception();