re-un-break TGROM problem caused by r4524

This commit is contained in:
goyuken 2013-06-14 15:07:55 +00:00
parent 72b78e8dc9
commit 1073e184d3
1 changed files with 2 additions and 0 deletions

View File

@ -381,6 +381,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo
prg_mask = num_prg_banks - 1;
int num_chr_banks = (Cart.chr_size);
if (num_chr_banks == 0) // vram only board
num_chr_banks = 8;
chr_mask = num_chr_banks - 1;
mmc3 = new MMC3(this, num_prg_banks);