forked from libretro/RetroArch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep save state index from growing forever when using the auto increment feature, and add a feature to have reserved indexes which will not be overwritten by the wraparound. By selecting reserved index 10, and max_keep as 5, slots 10..15 will be used in rotation, and one gap will always be maintained due to garbage collection. This gap is used for detecting last state. Example: slots 10,11,13,14,15 have a file -> gap is 12, and most recent state is in slot 11.
- Loading branch information
Showing
12 changed files
with
291 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.