support mapper 002-00 submapper with WRAM if the header specifies it

This commit is contained in:
zeromus 2016-12-11 15:38:13 -06:00
parent ca60a33293
commit 6ad442544b
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
//configure
switch (Cart.board_type)
{
case "MAPPER0002-00":
Cart.vram_size = 8;
//no assertions here, since the only variations will be stuff unambiguously specified by iNES 2.0
break;
case "MAPPER002":
AssertChr(0); Cart.vram_size = 8;
break;