Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Save SRAM when game saves (or at regular intervals) #966

Open
Sophira opened this issue Nov 3, 2024 · 0 comments
Open

[Request] Save SRAM when game saves (or at regular intervals) #966

Sophira opened this issue Nov 3, 2024 · 0 comments

Comments

@Sophira
Copy link

Sophira commented Nov 3, 2024

Is your feature request related to a problem? Please describe.
Currently, the saveSRAM() function is only called when the user explicitly selects "Quit" from the menu or the Back button is pressed while in-game. This is problematic when the user wants to quit Lemuroid in other ways, and it also doesn't mirror the functionality of the original consoles. Simply put: When I select an in-game option to save my game, I expect to be able to then quit in whatever way I choose and be assured that reloading it in-game will in fact do that. (Note: I do not use savestates.)

Describe the solution you'd like
I'd like the SRAM to be saved when it's updated by the game - or perhaps after a short delay after the last write (say, 1 second) in order to only need to write the save data once. Alternatively, I'd like the SRAM to be able to be written out at regular intervals.

Describe alternatives you've considered
I've considered autosave, but this is also only written on Quit or Back. Besides, I prefer to interact with the emulators as if they were the original consoles.

Additional context
I encountered this while playing a GBA game, but as far as I can tell from the code, this applies to all consoles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant