From 9b3bd8e94e326b2040d3f06f83d95a1f42db242a Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Sun, 2 Oct 2016 20:28:28 -0400 Subject: [PATCH] Put Ying Xiong Chuan Qi to mapper 224 As far as I can tell, Mapper 74 and 224 are close to identical, they share the same base mapper (Waixing type I in Nestopia) But for future reference let's distinguish mapper 224 here. --- .../Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs index 234e3fbadf..f76fbc9fdc 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs @@ -16,12 +16,14 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES { case "MAPPER074": break; + case "MAPPER224": + break; default: return false; } VRAM = new byte[2048]; - //if (Cart.chr_size == 0) - // throw new Exception("Mapper074 carts MUST have chr rom!"); + if (Cart.chr_size == 0 && Cart.board_type == "MAPPER074") + throw new Exception("Mapper074 carts MUST have chr rom!"); BaseSetup(); return true; }