Fix romType for Yuyu no Quiz de GO!GO!

https://github.com/sanni/cartreader/issues/922
This commit is contained in:
sanni 2024-04-30 12:25:58 +02:00 committed by GitHub
parent 14c3ca2a83
commit ecc937bab3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1006,6 +1006,8 @@ boolean checkcart_SNES() {
romType = EX; // Check if ExHiROM romType = EX; // Check if ExHiROM
} else if (romType == 0x3A) { } else if (romType == 0x3A) {
romType = HI; // Check if SPC7110 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 { } else {
romType &= 1; // Must be LoROM or HiROM romType &= 1; // Must be LoROM or HiROM
} }