Achievements: Reload settings after hardcode disabled

This commit is contained in:
Stenzek 2023-12-16 21:12:05 +10:00
parent 0632c3356c
commit e93fec49bb
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -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();