mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
fix fast mem dialog option
This commit is contained in:
parent
a53f0e6896
commit
c00cf639e7
@ -81,8 +81,7 @@ EmuSettingsDialog::EmuSettingsDialog(QWidget* parent) : QDialog(parent), ui(new
|
||||
ui->chkEnableJIT->setChecked(cfg.GetBool("JIT.Enable"));
|
||||
ui->chkJITBranchOptimisations->setChecked(cfg.GetBool("JIT.BranchOptimisations"));
|
||||
ui->chkJITLiteralOptimisations->setChecked(cfg.GetBool("JIT.LiteralOptimisations"));
|
||||
ui->chkJITFastMemory->setDisabled(!ARMJIT_Memory::IsFastMemSupported());
|
||||
ui->chkJITFastMemory->setChecked(cfg.GetBool("JIT.FastMemory") && ui->chkJITFastMemory->isEnabled());
|
||||
ui->chkJITFastMemory->setChecked(cfg.GetBool("JIT.FastMemory"));
|
||||
ui->spnJITMaximumBlockSize->setValue(cfg.GetInt("JIT.MaxBlockSize"));
|
||||
#else
|
||||
ui->chkEnableJIT->setDisabled(true);
|
||||
@ -539,7 +538,7 @@ void EmuSettingsDialog::on_chkEnableJIT_toggled()
|
||||
bool disabled = !ui->chkEnableJIT->isChecked();
|
||||
ui->chkJITBranchOptimisations->setDisabled(disabled);
|
||||
ui->chkJITLiteralOptimisations->setDisabled(disabled);
|
||||
ui->chkJITFastMemory->setDisabled(!ARMJIT_Memory::IsFastMemSupported());
|
||||
ui->chkJITFastMemory->setDisabled(disabled || !ARMJIT_Memory::IsFastMemSupported());
|
||||
ui->spnJITMaximumBlockSize->setDisabled(disabled);
|
||||
|
||||
on_cbGdbEnabled_toggled();
|
||||
|
Loading…
Reference in New Issue
Block a user