mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-13 13:39:08 +01:00
Merge pull request #11 from Pickle/master
Fix for games larger than 96 banks (Nintendo Power Fire Emblem 5)
This commit is contained in:
commit
5a5f48751e
@ -907,9 +907,14 @@ 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 );
|
||||
}
|
||||
}
|
||||
|
||||
// Dump High-type ROM
|
||||
else if (((romType == HI) || (romType == SA) || (romType == EX)) && ((romChips != 69) && (romChips != 249))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user