qt: Hide the dynarec checkbox if built without a dynarec

This commit is contained in:
Alexander Babikov
2023-06-29 03:55:44 +05:00
parent 8782f5d9d6
commit 74382d090f

View File

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