diff --git a/src/frontend-common/fullscreen_ui.cpp b/src/frontend-common/fullscreen_ui.cpp index 538be5d28..cfdb4a6ed 100644 --- a/src/frontend-common/fullscreen_ui.cpp +++ b/src/frontend-common/fullscreen_ui.cpp @@ -1204,6 +1204,7 @@ static bool ConfirmChallengeModeEnable() if (!s_host_interface->ConfirmMessage(message)) return false; + SaveAndApplySettings(); s_host_interface->PowerOffSystem(s_host_interface->ShouldSaveResumeState()); return true; } @@ -2267,8 +2268,6 @@ void DrawSettingsWindow() s_host_interface->RunLater([]() { if (!ConfirmChallengeModeEnable()) s_host_interface->GetSettingsInterface()->SetBoolValue("Cheevos", "Enabled", false); - else - SaveAndApplySettings(); }); } @@ -2299,8 +2298,6 @@ void DrawSettingsWindow() s_host_interface->RunLater([]() { if (!ConfirmChallengeModeEnable()) s_host_interface->GetSettingsInterface()->SetBoolValue("Cheevos", "ChallengeMode", false); - else - SaveAndApplySettings(); }); }