neshawk: remove mapper 99; it's left over vs system cruft

This commit is contained in:
goyuken 2014-01-13 17:00:44 +00:00
parent 2696ac07a0
commit 6aa6e5d1a5
2 changed files with 0 additions and 35 deletions

View File

@ -271,7 +271,6 @@
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper069.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper090.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper091.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper099.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper101.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper103.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper107.cs" />

View File

@ -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);
}
}
}