Update AxROM.cs

This commit is contained in:
alyosha-tas 2017-06-04 20:21:37 -04:00 committed by GitHub
parent 6eb112ae76
commit b56a6e9aa5
1 changed files with 8 additions and 1 deletions

View File

@ -58,6 +58,13 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
}
prg_mask_32k = Cart.prg_size / 32 - 1;
// hardware tests show that only 256kb of PRG is possible to acess
if (Cart.prg_size>256)
{
prg_mask_32k = 256 / 32 - 1;
}
SetMirrorType(NES.NESBoardBase.EMirrorType.OneScreenA);
return true;