From 520327dcdff575a8c3cec34d140f0289af3d6a72 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Wed, 15 Sep 2021 15:25:36 -0500 Subject: [PATCH] Fix dumping saves from ID 0xC22017 (#106) 8 MByte, used in Art Academy (Spain) or at least some of them --- arm9/source/dumpOperations.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arm9/source/dumpOperations.cpp b/arm9/source/dumpOperations.cpp index d9069d7..ed14efe 100644 --- a/arm9/source/dumpOperations.cpp +++ b/arm9/source/dumpOperations.cpp @@ -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) {