Merge pull request #4335 from lat9nq/fix-set-per-game-multicore

configure_general: Explicitly guard use_multi_core when applying setting
This commit is contained in:
LC 2020-07-14 07:53:04 -04:00 committed by GitHub
commit 6989fd65f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,8 @@ void ConfigureGeneral::ApplyConfiguration() {
Settings::values.use_frame_limit.SetValue(ui->toggle_frame_limit->checkState() == Settings::values.use_frame_limit.SetValue(ui->toggle_frame_limit->checkState() ==
Qt::Checked); Qt::Checked);
Settings::values.frame_limit.SetValue(ui->frame_limit->value()); Settings::values.frame_limit.SetValue(ui->frame_limit->value());
}
if (Settings::values.use_multi_core.UsingGlobal()) {
Settings::values.use_multi_core.SetValue(ui->use_multi_core->isChecked()); Settings::values.use_multi_core.SetValue(ui->use_multi_core->isChecked());
} }
} else { } else {