Allow NesHawk to load MMC5 w/ 128KiB WRAM from NES 2.0 headers

don't think this is working correctly but it doesn't crash
This commit is contained in:
YoshiRulz 2025-04-08 14:00:43 +10:00
parent 60fdcb3f72
commit 57d612f4b4
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 3 additions and 1 deletions

View File

@ -96,6 +96,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
case "MAPPER005":
Cart.WramSize = 64;
break;
case "MAPPER0005-00": // from NES 2.0 extension
break;
case "NES-ELROM": //Castlevania 3 - Dracula's Curse (U)
case "HVC-ELROM":
AssertPrg(128, 256); AssertChr(128);
@ -184,7 +186,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
return null;
else
return bank & 3;
case 64:
case 64 or 128:
return bank;
default:
throw new Exception();