Skip to content

Commit

Permalink
Support GBA .sav file with appended .rtc (#1927)
Browse files Browse the repository at this point in the history
* Support GBA .sav file with appended .rtc

* Change comment
  • Loading branch information
RainingChain authored Dec 24, 2023
1 parent de4ae9d commit f580d20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GBACart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f580d20

Please sign in to comment.