summaryrefslogtreecommitdiff
path: root/gui/worker.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-25 21:12:58 -0400
committerbd <bdunahu@operationnull.com>2025-04-25 21:12:58 -0400
commita3528b83dd10fa9cdf7ef5635f615c1b295f3f4c (patch)
treed4b3836a433dcb4e5a9615a8a1477b2901358451 /gui/worker.cc
parent9ef2928aefd0983c7b3b04023c0b958b86dd77ff (diff)
Pass full DTO to GUI
Diffstat (limited to 'gui/worker.cc')
-rw-r--r--gui/worker.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/worker.cc b/gui/worker.cc
index 2652fce..203f907 100644
--- a/gui/worker.cc
+++ b/gui/worker.cc
@@ -89,10 +89,10 @@ void Worker::runSteps(int steps)
emit storage(this->s.at(i - 1)->view(0, 1 << this->size_inc * i), i + 1);
emit clock_cycles(this->ct->get_clock_cycle(), this->ct->get_pc());
- emit if_info(this->if_stage->stage_info());
- emit id_info(this->id_stage->stage_info());
- emit ex_info(this->ex_stage->stage_info());
- emit mm_info(this->mm_stage->stage_info());
- emit wb_info(this->wb_stage->stage_info());
+ emit if_info(this->if_stage->get_instr());
+ emit id_info(this->id_stage->get_instr());
+ emit ex_info(this->ex_stage->get_instr());
+ emit mm_info(this->mm_stage->get_instr());
+ emit wb_info(this->wb_stage->get_instr());
this->ct_mutex.unlock();
}