mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-12-01 18:15: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();
|
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
|
// Toss away UI state, because it's invalid now
|
||||||
ClearUIState();
|
ClearUIState();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue