Support GBA .sav file with appended .rtc (#1927)

* Support GBA .sav file with appended .rtc

* Change comment
This commit is contained in:
Samuel Magnan 2023-12-23 19:09:43 -05:00 committed by GitHub
parent de4ae9dd92
commit f580d20a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ void CartGame::SetupSave(u32 type)
SRAMType = S_FLASH512K; SRAMType = S_FLASH512K;
break; break;
case 128*1024: case 128*1024:
case (128*1024 + 0x10): // .sav file with appended real time clock data (ex: emulator mGBA)
SRAMType = S_FLASH1M; SRAMType = S_FLASH1M;
break; break;
case 0: case 0: