aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-17 22:10:41 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-17 22:10:41 +0100
commit4b409c4b684a0e418e648ecaca375af6e1cdd68c (patch)
treee80e1c5d286da3926a9e9c5a0f60ac0d3d7ae99b /qtmips_gui
parentea7defbf908595b858dec9a95b327242a8cf3a76 (diff)
downloadqtmips-4b409c4b684a0e418e648ecaca375af6e1cdd68c.tar.gz
qtmips-4b409c4b684a0e418e648ecaca375af6e1cdd68c.tar.bz2
qtmips-4b409c4b684a0e418e648ecaca375af6e1cdd68c.zip
Fix hazard_stall_forward check load
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/newdialog.cpp2
1 files changed, 1 insertions, 1 deletions
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());