Skip to content

Commit 42a96fb

Browse files
Add iNES 2.0 support for NROM
NROM usually doesn't have WRAM, but iNES 1.0 doesn't specify WRAM size, so its detection just assumes 8KiB WRAM. iNES 2.0 can precisely identify WRAM size.
1 parent ff8a2bd commit 42a96fb

File tree

1 file changed

+4
-0
lines changed
  • src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards

1 file changed

+4
-0
lines changed

src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/NROM.cs

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ public override bool Configure(EDetectionOrigin origin)
2222
// No VS game used mapper zero but some were changed to use noraml CHR mapping I think
2323
NES._isVS = true;
2424
break;
25+
case "MAPPER0000-00":
26+
AssertPrg(8, 16, 32);
27+
AssertChr(8); AssertVram(0); AssertWram(0, 2, 4, 8);
28+
break;
2529
case "BANDAI-NROM-128":
2630
case "BANDAI-NROM-256":
2731
case "HVC-HROM": //Donkey Kong Jr. (J)

0 commit comments

Comments
 (0)