mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-23 21:19:16 +01:00
Merge pull request #638 from splash5/snes-ae6j
Fix SNES Daikaijuu Monogatari 2
This commit is contained in:
commit
a93a9e51de
@ -793,7 +793,10 @@ void getCartInfo_SNES() {
|
||||
println_Msg(F("SDD1"));
|
||||
} else if (romChips == 69) {
|
||||
println_Msg(F("SDD1 BATT"));
|
||||
} else if (romChips == 227)
|
||||
}
|
||||
else if (romChips == 85)
|
||||
println_Msg(F("SRTC RAM BATT"));
|
||||
else if (romChips == 227)
|
||||
println_Msg(F("RAM GBoy"));
|
||||
else if (romChips == 243)
|
||||
println_Msg(F("CX4"));
|
||||
@ -908,7 +911,7 @@ void checkAltConf(char crcStr[9]) {
|
||||
println_Msg(F("Found"));
|
||||
display_Update();
|
||||
// Game found, check if ROM sizes differ but only change ROM size if non- standard size found in database, else trust the header to be right and the database to be wrong
|
||||
if (((romSize != romSize2) || (numBanks != numBanks2)) && ((romSize2 == 10) || (romSize2 == 12) || (romSize2 == 20) || (romSize2 == 24) || (romSize2 == 48))) {
|
||||
if (((romSize != romSize2) || (numBanks != numBanks2)) && ((romSize2 == 10) || (romSize2 == 12) || (romSize2 == 20) || (romSize2 == 24) || (romSize2 == 40) || (romSize2 == 48))) {
|
||||
// Correct size
|
||||
println_Msg(F("Correcting size"));
|
||||
print_Msg(F("Size: "));
|
||||
@ -1452,7 +1455,14 @@ void readROM_SNES() {
|
||||
println_Msg(F("Dumping HiRom..."));
|
||||
display_Update();
|
||||
|
||||
readHiRomBanks(192, numBanks + 192, &myFile);
|
||||
if (romChips == 85) {
|
||||
// Daikaijuu Monogatari 2, keeps out S-RTC register area
|
||||
readHiRomBanks(192, 192 + 64, &myFile);
|
||||
readHiRomBanks(64, numBanks, &myFile); // (64 + (numBanks - 64))
|
||||
}
|
||||
else {
|
||||
readHiRomBanks(192, numBanks + 192, &myFile);
|
||||
}
|
||||
}
|
||||
|
||||
// Close the file:
|
||||
|
@ -1625,7 +1625,7 @@ Daikaijuu Monogatari (Japan).sfc
|
||||
39CA5291,1C07,C721B252,24,048
|
||||
|
||||
Daikaijuu Monogatari II (Japan).sfc
|
||||
A6C98FFE,E620,6E120C5C,40,160
|
||||
A6C98FFE,8528,E3982D11,40,080
|
||||
|
||||
Daikoukai Jidai II (Japan).sfc
|
||||
EEBC4170,6145,96A59072,16,032
|
||||
|
Loading…
Reference in New Issue
Block a user