From e1cfc2856228105afbd859ddffc0e9e3a990b148 Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Mon, 22 May 2017 10:51:40 -0400 Subject: [PATCH] Update MMC3 to remove RewireNametable_TLSROM --- .../Nintendo/NES/Boards/MMC3_family/MMC3.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/MMC3.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/MMC3.cs index f0dcabb7e7..999d23605b 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/MMC3.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/MMC3.cs @@ -418,19 +418,5 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES mmc3 = new MMC3(this, num_prg_banks); SetMirrorType(EMirrorType.Vertical); } - - //used by a couple of boards for controlling nametable wiring with the mapper - protected int RewireNametable_TLSROM(int addr, int bitsel) - { - int bank_1k = mmc3.Get_CHRBank_1K(addr & 0x1FFF); - int nt = (bank_1k >> bitsel) & 1; - int ofs = addr & 0x3FF; - addr = 0x2000 + (nt << 10); - addr |= (ofs); - return addr; - } - } - - }