Support for dumping "Street Fighter Zero 2" (SDD1 ROM Only)

This commit is contained in:
splash5 2022-08-24 11:48:49 +08:00
parent d7d49bac75
commit d506cd5358

View File

@ -748,6 +748,9 @@ void getCartInfo_SNES() {
println_Msg(F("SA1 RAM BATT")); println_Msg(F("SA1 RAM BATT"));
romType = SA; romType = SA;
} }
else if (romChips == 67) {
println_Msg(F("SDD1"));
}
else if (romChips == 69) { else if (romChips == 69) {
println_Msg(F("SDD1 BATT")); println_Msg(F("SDD1 BATT"));
} }
@ -957,6 +960,11 @@ boolean checkcart_SNES() {
numBanks = 96; numBanks = 96;
romType = HI; romType = HI;
} }
else if (romChips == 67) {
romSize = 32;
numBanks = 64;
romType = HI;
}
else if (romChips == 243) { else if (romChips == 243) {
cx4Type = snesHeader[0xFFC9 - headerStart] & 0xF; cx4Type = snesHeader[0xFFC9 - headerStart] & 0xF;
if (cx4Type == 2) { // X2 if (cx4Type == 2) { // X2
@ -1338,7 +1346,7 @@ void readROM_SNES() {
} }
// Dump SDD1 High-type ROM // 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")); println_Msg(F("Dumping SDD1 HiRom"));
display_Update(); display_Update();
controlIn_SNES(); controlIn_SNES();