mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
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:
commit
6989fd65f3
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue