aboutsummaryrefslogtreecommitdiff
path: root/src/GBACart.cpp
diff options
context:
space:
mode:
authorSamuel Magnan <rainingchain@gmail.com>2023-12-23 19:09:43 -0500
committerGitHub <noreply@github.com>2023-12-24 01:09:43 +0100
commitf580d20a7b39f4698d0c5f32ac64ede8a5ed3915 (patch)
tree893d86746f1f2dde3edd834f8fe541f58a0142ab /src/GBACart.cpp
parentde4ae9dd92761b552f23401a3b1336a0b4ab8641 (diff)
Support GBA .sav file with appended .rtc (#1927)
* Support GBA .sav file with appended .rtc * Change comment
Diffstat (limited to 'src/GBACart.cpp')
-rw-r--r--src/GBACart.cpp1
1 files changed, 1 insertions, 0 deletions
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: