Fix dumping saves from ID 0xC22017 (#106)

8 MByte, used in Art Academy (Spain) or at least some of them
This commit is contained in:
Pk11 2021-09-15 15:25:36 -05:00 committed by GitHub
parent 4dd589c391
commit 520327dcdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,8 +117,15 @@ uint32 cardEepromGetSizeFixed() {
if ( ((id >> 16) & 0xff) == 0xC2 ) { // Macronix
if (device == 0x2211)
switch(device) {
case 0x2211:
return 128*1024; // 1Mbit(128KByte) - MX25L1021E
break;
case 0x2017:
return 8*1024*1024; // 64Mbit(8 meg)
break;
}
}
if (id == 0xffffff) {