mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-23 21:19:16 +01:00
Merge pull request #585 from BacteriaMage/master
fix superfx sram size detection
This commit is contained in:
commit
e106488453
@ -1102,8 +1102,8 @@ boolean checkcart_SNES() {
|
||||
byte sramSizeExp;
|
||||
if ((romChips == 19) || (romChips == 20) || (romChips == 21) || (romChips == 26)) {
|
||||
// SuperFX
|
||||
if (snesHeader[0x7FDA - headerStart] == 0x33) {
|
||||
sramSizeExp = snesHeader[0x7FBD - headerStart];
|
||||
if (snesHeader[0xFFDA - headerStart] == 0x33) {
|
||||
sramSizeExp = snesHeader[0xFFBD - headerStart];
|
||||
} else {
|
||||
if (strncmp(romName, "STARFOX2", 8) == 0) {
|
||||
sramSizeExp = 6;
|
||||
|
Loading…
Reference in New Issue
Block a user