Mapper 60 - a more respectable bit logic implementation in ReadPRG
This commit is contained in:
parent
2174e9938f
commit
ea60a2c9f8
|
@ -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)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue