mirror of
https://github.com/LIV2/amiberry.git
synced 2025-12-05 22:22:44 +00:00
bugfix: GUI would show emulation hasn't started incorrectly when saving a state file (fixes #1570)
The dialog message "Emulation hasn't started yet" would be incorrectly shown if you also cancelled a warning of unsafe conditions, during the save state message.
This commit is contained in:
parent
bb9dd76324
commit
861a243439
@ -102,12 +102,15 @@ public:
|
||||
//------------------------------------------
|
||||
// Save current state
|
||||
//------------------------------------------
|
||||
if (emulating && (!unsafe || unsafe_confirmed))
|
||||
if (emulating)
|
||||
{
|
||||
savestate_initsave(savestate_fname, 1, true, true);
|
||||
save_state(savestate_fname, "...");
|
||||
if (create_screenshot())
|
||||
save_thumb(screenshot_filename);
|
||||
if (!unsafe || unsafe_confirmed)
|
||||
{
|
||||
savestate_initsave(savestate_fname, 1, true, true);
|
||||
save_state(savestate_fname, "...");
|
||||
if (create_screenshot())
|
||||
save_thumb(screenshot_filename);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user