mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
configure_general: Explicitly guard use_multi_core when applying settings
This is likely an oversight during a rebase. Guards use_multi_core to be only set when the global value is in use. It should not make a difference given the current code base, but makes the code sensible.
This commit is contained in:
parent
edb2caaae5
commit
e02687ff47
|
@ -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