mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 12:01:53 +01:00
Merge pull request #492 from splash5/snes-sfz2
Support for dumping "Street Fighter Zero 2" (SDD1 ROM Only)
This commit is contained in:
commit
dbb2477373
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user