VRC6: support arbitrary romsize through ines identification
This commit is contained in:
parent
63e8702242
commit
02762576aa
|
@ -185,11 +185,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||||
else if (Cart.pcb == "351949A")
|
else if (Cart.pcb == "351949A")
|
||||||
newer_variant = true;
|
newer_variant = true;
|
||||||
else throw new Exception("Unknown PCB type for VRC6");
|
else throw new Exception("Unknown PCB type for VRC6");
|
||||||
|
AssertPrg(256); AssertChr(128, 256);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
AssertPrg(256); AssertChr(128, 256); AssertVram(0); AssertWram(0, 8);
|
AssertVram(0); AssertWram(0, 8);
|
||||||
|
|
||||||
prg_bank_mask_8k = Cart.prg_size / 8 - 1;
|
prg_bank_mask_8k = Cart.prg_size / 8 - 1;
|
||||||
chr_bank_mask_1k = Cart.chr_size - 1;
|
chr_bank_mask_1k = Cart.chr_size - 1;
|
||||||
|
|
Loading…
Reference in New Issue