BizHawk/BizHawk.Emulation/Consoles/Atari/2600/Mappers/m4K.cs

19 lines
340 B
C#
Raw Normal View History

namespace BizHawk
2012-03-30 00:35:15 +00:00
{
partial class Atari2600
{
class m4K : MapperBase
{
public override byte ReadMemory(ushort addr)
{
if (addr < 0x1000) return base.ReadMemory(addr);
return core.rom[addr & 0xFFF];
}
public override byte PeekMemory(ushort addr)
{
return ReadMemory(addr);
}
2012-03-30 00:35:15 +00:00
}
}
}