From 6aa6e5d1a5e44ef05a01b8e694963fab9faff13f Mon Sep 17 00:00:00 2001 From: goyuken Date: Mon, 13 Jan 2014 17:00:44 +0000 Subject: [PATCH] neshawk: remove mapper 99; it's left over vs system cruft --- .../BizHawk.Emulation.Cores.csproj | 1 - .../Consoles/Nintendo/NES/Boards/Mapper099.cs | 34 ------------------- 2 files changed, 35 deletions(-) delete mode 100644 BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper099.cs diff --git a/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj b/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj index dbe130f31a..a16e29dc7f 100644 --- a/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj +++ b/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj @@ -271,7 +271,6 @@ - diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper099.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper099.cs deleted file mode 100644 index 0fb4f2f8ca..0000000000 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper099.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace BizHawk.Emulation.Cores.Nintendo.NES -{ - // one of the VS unisystem mappers - // a lot of dumps are labelled incorrectly - public sealed class Mapper099 : NES.NESBoardBase - { - int chr; - public override bool Configure(NES.EDetectionOrigin origin) - { - switch (Cart.board_type) - { - case "MAPPER099": - AssertPrg(32); AssertChr(16); Cart.vram_size = 0; Cart.wram_size = 0; - break; - default: - return false; - } - return true; - } - - public void Signal4016(int val) - { - chr = val & 1; - } - - public override byte ReadPPU(int addr) - { - if (addr < 0x2000) - return VROM[addr | chr << 13]; - else - return base.ReadPPU(addr); - } - } -}