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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user