From d506cd53584ad5a915cb009cd4809a80214393fc Mon Sep 17 00:00:00 2001 From: splash5 <2173030+splash5@users.noreply.github.com> Date: Wed, 24 Aug 2022 11:48:49 +0800 Subject: [PATCH] Support for dumping "Street Fighter Zero 2" (SDD1 ROM Only) --- Cart_Reader/SNES.ino | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino index 22b3582..8bd268e 100644 --- a/Cart_Reader/SNES.ino +++ b/Cart_Reader/SNES.ino @@ -748,6 +748,9 @@ void getCartInfo_SNES() { println_Msg(F("SA1 RAM BATT")); romType = SA; } + else if (romChips == 67) { + println_Msg(F("SDD1")); + } else if (romChips == 69) { println_Msg(F("SDD1 BATT")); } @@ -957,6 +960,11 @@ boolean checkcart_SNES() { numBanks = 96; romType = HI; } + else if (romChips == 67) { + romSize = 32; + numBanks = 64; + romType = HI; + } else if (romChips == 243) { cx4Type = snesHeader[0xFFC9 - headerStart] & 0xF; if (cx4Type == 2) { // X2 @@ -1338,7 +1346,7 @@ void readROM_SNES() { } // Dump SDD1 High-type ROM - else if ((romType == HI) && (romChips == 69)) { + else if ((romType == HI) && (romChips == 69 || romChips == 67)) { println_Msg(F("Dumping SDD1 HiRom")); display_Update(); controlIn_SNES();