From 4b409c4b684a0e418e648ecaca375af6e1cdd68c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 17 Jan 2018 22:10:41 +0100 Subject: Fix hazard_stall_forward check load --- qtmips_gui/newdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtmips_gui/newdialog.cpp b/qtmips_gui/newdialog.cpp index d463f8d..5b1c39e 100644 --- a/qtmips_gui/newdialog.cpp +++ b/qtmips_gui/newdialog.cpp @@ -149,7 +149,7 @@ void NewDialog::config_gui() { ui->delay_slot->setChecked(config->delay_slot()); ui->hazard_unit->setChecked(config->hazard_unit() != machine::MachineConfig::HU_NONE); ui->hazard_stall->setChecked(config->hazard_unit() == machine::MachineConfig::HU_STALL); - // ui->hazard_stall_forward is configured automatically according to box exclusivity + ui->hazard_stall_forward->setChecked(config->hazard_unit() == machine::MachineConfig::HU_STALL_FORWARD); ui->mem_protec_exec->setChecked(config->memory_execute_protection()); ui->mem_protec_write->setChecked(config->memory_write_protection()); ui->mem_time_read->setValue(config->memory_access_time_read()); -- cgit v1.2.3