From 31843f3e3ae673c472d5300c14dc49d92318f90b Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 29 Jul 2012 18:43:21 +0000 Subject: [PATCH] NES - mappers 74, 192, 194 - set VRAM sizes when mapper object is created, this removes the need to set vram in the gamedb. --- .../Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs | 2 +- .../Consoles/Nintendo/NES/Boards/MMC3_family/Mapper192.cs | 2 +- .../Consoles/Nintendo/NES/Boards/MMC3_family/Mapper194.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs index f36e028c36..8d7cbb753e 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper074.cs @@ -19,7 +19,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo default: return false; } - + VRAM = new byte[2048]; BaseSetup(); return true; } diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper192.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper192.cs index 8e2253517b..5a3756e364 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper192.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper192.cs @@ -19,7 +19,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo default: return false; } - + VRAM = new byte[4096]; BaseSetup(); return true; } diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper194.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper194.cs index d15b454765..f3accaf234 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper194.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper194.cs @@ -19,7 +19,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo default: return false; } - + VRAM = new byte[2048]; BaseSetup(); return true; }