diff --git a/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj b/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj index 24800f444e..b8f7f9f388 100644 --- a/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj +++ b/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj @@ -355,7 +355,6 @@ Code - diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/NROM.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/NROM.cs index 379bb7f65f..b375cac197 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/NROM.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/NROM.cs @@ -16,10 +16,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES switch (Cart.board_type) { case "MAPPER000": - if (Cart.prg_size <= 32) - break; - else - return false; // NROM-368 case "MAPPER219": //adelikat: a version of 3D-Block tries to use this ROM, but plays fine as NROM and 219 is undocumented by Disch break; diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/NROM368.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/NROM368.cs deleted file mode 100644 index 831ee7f7e3..0000000000 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/NROM368.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace BizHawk.Emulation.Cores.Nintendo.NES -{ - public sealed class NROM368 : NES.NESBoardBase - { - // not even one actual prototype of this pile of shit exists, and - // there are already two incompatible implementations. pathetic. - bool small; - - public override bool Configure(NES.EDetectionOrigin origin) - { - switch (Cart.board_type) - { - case "UNIF_NROM-368": // ?? - break; - case "MAPPER000": - if (Cart.prg_size == 48 || Cart.prg_size == 64) - break; - else - return false; - default: - return false; - } - AssertPrg(48, 64); - small = Cart.prg_size == 48; - SetMirrorType(Cart.pad_h, Cart.pad_v); - return true; - } - - public override byte ReadPRG(int addr) - { - if (small) - return ROM[addr + 0x4000]; - else - return ROM[addr]; - } - - public override byte ReadWRAM(int addr) - { - if (small) - return ROM[addr + 0x2000]; - else - return ROM[addr + 0xa000]; - } - - public override byte ReadEXP(int addr) - { - if (addr < 0x800) - return NES.DB; - if (small) - return ROM[addr]; - else - return ROM[addr + 0x8000]; - } - } -}