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

1545 savestates fixes #1547

Merged
merged 3 commits into from
Dec 23, 2024
Merged

1545 savestates fixes #1547

merged 3 commits into from
Dec 23, 2024

Conversation

midwan
Copy link
Collaborator

@midwan midwan commented Dec 23, 2024

Fixes #1545 .

@midwan

The code now includes additional conditions to determine the `filename` in the `gui_update()` function. Specifically, it checks if `whdload_prefs.whdload_filename` is not empty and uses it to set the `filename`. If that condition is not met, it then checks if `last_loaded_config` has a non-zero length and uses it to set the `filename`. The previous logic that set `filename` to either `last_loaded_config` or "default.uae" has been removed.
Only enable buttons is a savestate title is set.
Show the title when displaying a not found message.
If a savestate is not found, don't try to load the screenshot for it either.
Minor code optimization.
@midwan midwan merged commit 0d9fa4a into master Dec 23, 2024
28 checks passed
@midwan midwan deleted the 1545-savestates-fixes branch December 23, 2024 22:04
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.

GUI -> Savestates panel ...query: path resolution, .uss filenaming, other...
1 participant