Disallow underclocking in Hardcore mode

This commit is contained in:
Silent 2021-06-08 15:27:51 +02:00
parent 35b35c9212
commit d52b0e5dbb
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1
1 changed files with 5 additions and 0 deletions

View File

@ -2907,6 +2907,11 @@ void CommonHostInterface::FixIncompatibleSettings(bool display_osd_messages)
g_settings.turbo_speed = (g_settings.turbo_speed != 0.0f) ? std::max(g_settings.turbo_speed, 1.0f) : 0.0f;
g_settings.rewind_enable = false;
g_settings.auto_load_cheats = false;
if (g_settings.cpu_overclock_enable && g_settings.GetCPUOverclockPercent() < 100)
{
g_settings.cpu_overclock_enable = false;
g_settings.UpdateOverclockActive();
}
g_settings.debugging.enable_gdb_server = false;
g_settings.debugging.show_vram = false;
g_settings.debugging.show_gpu_state = false;