aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/SNES.ino
diff options
context:
space:
mode:
authorsanni <[email protected]>2024-04-30 12:25:58 +0200
committerGitHub <[email protected]>2024-04-30 12:25:58 +0200
commitecc937bab300463dcc41a7f2827e8d8b611d1d17 (patch)
treeb19dd5e1e2b95ac21372e68cb884c0af8ceca782 /Cart_Reader/SNES.ino
parent14c3ca2a8396a7b9239c1a6cbac1ade4d2565b10 (diff)
downloadcartreader-ecc937bab300463dcc41a7f2827e8d8b611d1d17.tar.gz
cartreader-ecc937bab300463dcc41a7f2827e8d8b611d1d17.zip
Fix romType for Yuyu no Quiz de GO!GO!
https://github.com/sanni/cartreader/issues/922
Diffstat (limited to 'Cart_Reader/SNES.ino')
-rw-r--r--Cart_Reader/SNES.ino2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino
index 89bb764..152654a 100644
--- a/Cart_Reader/SNES.ino
+++ b/Cart_Reader/SNES.ino
@@ -1006,6 +1006,8 @@ boolean checkcart_SNES() {
romType = EX; // Check if ExHiROM
} else if (romType == 0x3A) {
romType = HI; // Check if SPC7110
+ } else if (strcmp("3BB0", checksumStr) == 0) { // invalid romType due to too long ROM name (Yuyu no Quiz de GO!GO!)
+ romType = LO;
} else {
romType &= 1; // Must be LoROM or HiROM
}