mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-26 04:51:52 +01:00
Fix for games larger than 96 banks (Nintendo Power Fire Emblem 5 Thracia 776)
This commit is contained in:
parent
27b63819e5
commit
dc6ed42f14
@ -907,8 +907,13 @@ void readROM_SNES() {
|
||||
|
||||
//Dump Low-type ROM
|
||||
else if (romType == LO) {
|
||||
if(romSize > 24) {
|
||||
// ROM > 96 banks (up to 128 banks)
|
||||
readLoRomBanks( 0x80, numBanks + 0x80, &myFile );
|
||||
} else {
|
||||
// Read up to 96 banks starting at bank 0×00.
|
||||
readLoRomBanks( 0, numBanks, &myFile );
|
||||
readLoRomBanks( 0, numBanks, &myFile );
|
||||
}
|
||||
}
|
||||
|
||||
// Dump High-type ROM
|
||||
|
Loading…
Reference in New Issue
Block a user