From 02762576aafe819df6ba44a92c88fb2f770de3c2 Mon Sep 17 00:00:00 2001 From: goyuken Date: Mon, 17 Feb 2014 04:15:15 +0000 Subject: [PATCH] VRC6: support arbitrary romsize through ines identification --- BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC6.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC6.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC6.cs index 49b643e15b..b3db780760 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC6.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC6.cs @@ -185,11 +185,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES else if (Cart.pcb == "351949A") newer_variant = true; else throw new Exception("Unknown PCB type for VRC6"); + AssertPrg(256); AssertChr(128, 256); break; default: 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; chr_bank_mask_1k = Cart.chr_size - 1;