citra_qt: Move CPU JIT toggle to Debug tab.

This commit is contained in:
adityaruplaha 2018-07-21 12:27:38 +05:30
parent 78685065cf
commit 38d4b41b0a
4 changed files with 19 additions and 23 deletions

View file

@ -37,7 +37,6 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
this->setConfiguration();
ui->toggle_cpu_jit->setEnabled(!Core::System::GetInstance().IsPoweredOn());
ui->updateBox->setVisible(UISettings::values.updater_found);
}
@ -45,7 +44,6 @@ ConfigureGeneral::~ConfigureGeneral() {}
void ConfigureGeneral::setConfiguration() {
ui->toggle_check_exit->setChecked(UISettings::values.confirm_before_closing);
ui->toggle_cpu_jit->setChecked(Settings::values.use_cpu_jit);
ui->toggle_update_check->setChecked(UISettings::values.check_for_update_on_start);
ui->toggle_auto_update->setChecked(UISettings::values.update_on_close);
@ -67,7 +65,6 @@ void ConfigureGeneral::applyConfiguration() {
UISettings::values.update_on_close = ui->toggle_auto_update->isChecked();
Settings::values.region_value = ui->region_combobox->currentIndex() - 1;
Settings::values.use_cpu_jit = ui->toggle_cpu_jit->isChecked();
}
void ConfigureGeneral::onLanguageChanged(int index) {