summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp/simpc_curses.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eater_cpu/cpp/simpc_curses.cpp')
-rw-r--r--eater_cpu/cpp/simpc_curses.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/eater_cpu/cpp/simpc_curses.cpp b/eater_cpu/cpp/simpc_curses.cpp
index 4b4f04f..5ae98b1 100644
--- a/eater_cpu/cpp/simpc_curses.cpp
+++ b/eater_cpu/cpp/simpc_curses.cpp
@@ -70,7 +70,7 @@ void simpc_ui_write(const std::unique_ptr<Veater_computer> &topp, uint64_t i) {
clock_regs, 3, 1, "A : 0x%02X\tB : 0x%02X\tALU: 0x%02X\tOUT: 0x%02X",
topp->eater_computer->A->r_datastore,
topp->eater_computer->B->r_datastore, topp->eater_computer->alu->result,
- topp->eater_computer->OUT->r_datastore);
+ topp->eater_computer->OUT_reg->r_datastore);
// "PC: 0x%02X, INS: 0x%02X", topp->eater_computer->PC_out, opcode;
// const wchar_t flag_on = L'\u26ab';