Merge pull request #852 from ButThouMust/master

SNES.ino: Fix dumping Sound Novel Tsukuru (Japan)
This commit is contained in:
PsyK0p4T 2023-09-22 14:50:33 +02:00 committed by GitHub
commit b373b662d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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