Skip to content

Commit

Permalink
retro-go: Fixed boot file wasn't committed to disk after saving a game
Browse files Browse the repository at this point in the history
This prevented the game from resuming automatically on next boot
  • Loading branch information
ducalex committed Feb 9, 2024
1 parent 8bf2f39 commit c3c9113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/retro-go/rg_system.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ static void emu_update_save_slot(uint8_t slot)
app.bootFlags |= app.saveSlot << 4;
app.bootFlags |= RG_BOOT_RESUME;
rg_settings_set_number(NS_BOOT, SETTING_BOOT_FLAGS, app.bootFlags);
rg_settings_commit();
}

rg_storage_commit();
Expand Down

0 comments on commit c3c9113

Please sign in to comment.