mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2024-11-27 00:30:34 +00:00
Fix GBA SRAM
This commit is contained in:
parent
a506a6af36
commit
b802dce7cb
@ -11,6 +11,7 @@ and this project roughly adheres to [Semantic Versioning](https://semver.org/spe
|
||||
|
||||
- Fixed a bug where native BIOS images would be used
|
||||
when the core was supposed to fall back to built-in system files.
|
||||
- Fixed a bug where GBA SRAM wouldn't be loaded.
|
||||
|
||||
## [1.1.1] - 2024-02-29
|
||||
|
||||
|
@ -667,7 +667,7 @@ void MelonDsDs::CoreState::InitContent(unsigned type, std::span<const retro_game
|
||||
// First initialize the content info...
|
||||
switch (type) {
|
||||
case MELONDSDS_GAME_TYPE_SLOT_1_2_BOOT:
|
||||
if (game.size() > 2 && game[2].path != nullptr && game[2].size > 0) {
|
||||
if (game.size() > 2 && game[2].path != nullptr) {
|
||||
// If we got a GBA SRAM file...
|
||||
_gbaSaveInfo = game[2];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user