mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
Achievements: Reload settings after hardcode disabled
This commit is contained in:
parent
0632c3356c
commit
e93fec49bb
|
@ -1413,6 +1413,10 @@ void Achievements::SetHardcoreMode(bool enabled, bool force_display_message)
|
|||
DisplayAchievementSummary();
|
||||
}
|
||||
|
||||
// Reload setting to permit cheating-like things if we were just disabled.
|
||||
if (!enabled)
|
||||
Host::RunOnCPUThread([]() { System::ApplySettings(false); });
|
||||
|
||||
// Toss away UI state, because it's invalid now
|
||||
ClearUIState();
|
||||
|
||||
|
|
Loading…
Reference in a new issue