aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPsyK0p4T <[email protected]>2023-11-20 21:46:44 +0100
committerGitHub <[email protected]>2023-11-20 21:46:44 +0100
commita55aa7bbff76df1e24b758177e5e3c54f7da1fa7 (patch)
tree77772b7f896675d53dd396cf536ef26616df72b6
parent654686cf1550152ace659ce66b97aadb2869cae2 (diff)
downloadcartreader-a55aa7bbff76df1e24b758177e5e3c54f7da1fa7.tar.gz
cartreader-a55aa7bbff76df1e24b758177e5e3c54f7da1fa7.zip
Update SNES.ino
Avoids a compilation warning
-rw-r--r--Cart_Reader/SNES.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino
index a1e734f..dd0571a 100644
--- a/Cart_Reader/SNES.ino
+++ b/Cart_Reader/SNES.ino
@@ -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