yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

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:
lat9nq 2020-07-14 00:49:17 -04:00
parent edb2caaae5
commit e02687ff47
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ void ConfigureGeneral::ApplyConfiguration() {
Settings::values.use_frame_limit.SetValue(ui->toggle_frame_limit->checkState() ==
Qt::Checked);
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());
}
} else {