Mapper 60 - a more respectable bit logic implementation in ReadPRG

This commit is contained in:
adelikat 2012-07-17 23:58:53 +00:00
parent 2174e9938f
commit ea60a2c9f8
1 changed files with 1 additions and 4 deletions

View File

@ -63,10 +63,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
public override byte ReadPRG(int addr) public override byte ReadPRG(int addr)
{ {
if (addr >= 0x4000) addr &= 0x3FFF;
{
addr -= 0x4000;
}
return ROM[addr + (reg * 0x4000)]; return ROM[addr + (reg * 0x4000)];
} }