Skip to content

Change how EmuHawk handles SRAM - #4813

Draft
SuuperW wants to merge 8 commits into
TASEmulators:masterfrom
SuuperW:manual-sram
Draft

Change how EmuHawk handles SRAM#4813
SuuperW wants to merge 8 commits into
TASEmulators:masterfrom
SuuperW:manual-sram

Conversation

@SuuperW

@SuuperW SuuperW commented Aug 11, 2026

Copy link
Copy Markdown
Contributor
  1. User can manually load a SRAM file
  2. Users can do SRAM "save as"
  3. Do not automatically save SRAM when closing/rebooting: ask the user instead, but only if no movie had been started
  4. Save on close and "flush save ram" menu item write to whichever file was opened (or "save as"d)
  5. Enable AutoSaveRam (the one that saves while playing) by default
  6. Disable AutoSaveRam when a movie has been loaded
  7. Delete the auto save file whenever SRAM is manually saved (or the user says no to saving on close)

This means EmuHawk will never automatically overwrite any SRAM file, and will not clutter the SRAM folder with files from movies.

I'm not fully happy with this, but I am not sure how to make it better. The dialog asking the user if they want to save on close could probably use a "remember my choice" option. A better flow for loading a ROM with a specific SRAM might be something to implement.

Check if completed:

@SuuperW
SuuperW requested a review from zeromus August 11, 2026 04:24
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

Successfully merging this pull request may close these issues.

1 participant