From f580d20a7b39f4698d0c5f32ac64ede8a5ed3915 Mon Sep 17 00:00:00 2001 From: Samuel Magnan Date: Sat, 23 Dec 2023 19:09:43 -0500 Subject: Support GBA .sav file with appended .rtc (#1927) * Support GBA .sav file with appended .rtc * Change comment --- src/GBACart.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GBACart.cpp b/src/GBACart.cpp index 37fa044..1be50e7 100644 --- a/src/GBACart.cpp +++ b/src/GBACart.cpp @@ -193,6 +193,7 @@ void CartGame::SetupSave(u32 type) SRAMType = S_FLASH512K; break; case 128*1024: + case (128*1024 + 0x10): // .sav file with appended real time clock data (ex: emulator mGBA) SRAMType = S_FLASH1M; break; case 0: -- cgit v1.2.3