neshawk: remove mapper 99; it's left over vs system cruft
This commit is contained in:
parent
2696ac07a0
commit
6aa6e5d1a5
|
@ -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" />
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue