[NES] setup 'scaffolding' for PPU view. actually only 1% as complicated as i thought it would be.
This commit is contained in:
parent
a296742d5f
commit
858824c548
|
@ -50,7 +50,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
|
|||
public interface INESBoard
|
||||
{
|
||||
byte ReadPRG(int addr);
|
||||
byte ReadPPU(int addr);
|
||||
byte ReadPPU(int addr); byte PeekPPU(int addr);
|
||||
byte ReadPRAM(int addr);
|
||||
void WritePRG(int addr, byte value);
|
||||
void WritePPU(int addr, byte value);
|
||||
|
@ -136,6 +136,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo
|
|||
}
|
||||
}
|
||||
|
||||
public virtual byte PeekPPU(int addr) { return ReadPPU(addr); }
|
||||
|
||||
public virtual byte ReadPPU(int addr)
|
||||
{
|
||||
if (addr < 0x2000)
|
||||
|
|
Loading…
Reference in New Issue