nes: gxrom: fix possible crash on 64K prg carts???? maybe?

This commit is contained in:
goyuken 2012-10-28 23:53:29 +00:00
parent 29c0733150
commit 164a6cb42d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
return false;
}
prg_mask = (Cart.prg_size/8/2) - 1;
prg_mask = (Cart.prg_size / 32) - 1;
chr_mask = (Cart.chr_size / 8) - 1;
SetMirrorType(Cart.pad_h, Cart.pad_v);