SNES.ino: Fix dumping Sound Novel Tsukuru (Japan) with same fix as for Derby Stallion '96 (Japan)

This commit is contained in:
But Thou Must 2023-09-21 18:39:18 -04:00
parent 4ef394aada
commit c88978f5ea

View File

@ -1300,8 +1300,8 @@ void readROM_SNES() {
print_FatalError(create_file_STR); print_FatalError(create_file_STR);
} }
//Dump Derby Stallion '96 (Japan) Actual Size is 24Mb //Dump Derby Stallion '96 (Japan) and Sound Novel Tsukuru (Japan) - Actual Size is 24Mb
if ((romType == LO) && (numBanks == 96) && (strcmp("CC86", checksumStr) == 0)) { if ((romType == LO) && (numBanks == 96) && (strcmp("CC86", checksumStr) == 0) || strcmp("A77B", checksumStr) == 0) {
// Read Banks 0x00-0x3F for the 1st/2nd MB // Read Banks 0x00-0x3F for the 1st/2nd MB
for (int currBank = 0; currBank < 64; currBank++) { for (int currBank = 0; currBank < 64; currBank++) {
// Dump the bytes to SD 512B at a time // Dump the bytes to SD 512B at a time