Update SNES.ino

Avoids a compilation warning
This commit is contained in:
PsyK0p4T 2023-11-20 21:46:44 +01:00 committed by GitHub
parent 654686cf15
commit a55aa7bbff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1304,7 +1304,7 @@ void readROM_SNES() {
}
//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) {
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