Merge pull request #3441 from lemondrops/qt-no-dynarec-fix

qt: Hide the dynarec checkbox if built without a dynarec
This commit is contained in:
Jasmine Iwanek
2023-07-01 08:39:34 -04:00
committed by GitHub

View File

@@ -90,6 +90,11 @@ SettingsMachine::SettingsMachine(QWidget *parent)
ui->comboBoxMachineType->setCurrentIndex(-1); ui->comboBoxMachineType->setCurrentIndex(-1);
ui->comboBoxMachineType->setCurrentIndex(selectedMachineType); ui->comboBoxMachineType->setCurrentIndex(selectedMachineType);
#ifndef USE_DYNAREC
ui->checkBoxDynamicRecompiler->setEnabled(false);
ui->checkBoxDynamicRecompiler->setVisible(false);
#endif
} }
SettingsMachine::~SettingsMachine() SettingsMachine::~SettingsMachine()