[NES] add remind to 242 to fix
This commit is contained in:
parent
5e83510d1a
commit
dae79600e7
|
@ -4,6 +4,8 @@ using System.Diagnostics;
|
||||||
|
|
||||||
namespace BizHawk.Emulation.Consoles.Nintendo
|
namespace BizHawk.Emulation.Consoles.Nintendo
|
||||||
{
|
{
|
||||||
|
//(doesnt work in neshawk; works in fceux)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
PCB Class: Unknown
|
PCB Class: Unknown
|
||||||
iNES Mapper #242
|
iNES Mapper #242
|
||||||
|
@ -35,17 +37,12 @@ mirroring - both
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override byte ReadPPU(int addr)
|
|
||||||
{
|
|
||||||
return base.ReadPPU(addr);
|
|
||||||
}
|
|
||||||
|
|
||||||
public override byte ReadPRG(int addr)
|
public override byte ReadPRG(int addr)
|
||||||
{
|
{
|
||||||
return ROM[addr + (prg * 0x8000)];
|
return ROM[addr + (prg * 0x8000)];
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void WriteWRAM(int addr, byte value)
|
public override void WritePRG(int addr, byte value)
|
||||||
{
|
{
|
||||||
mirror = ((addr>>1) & 0x01);
|
mirror = ((addr>>1) & 0x01);
|
||||||
prg = (addr >> 3) & 15;
|
prg = (addr >> 3) & 15;
|
||||||
|
|
Loading…
Reference in New Issue