summaryrefslogtreecommitdiff
path: root/nandgame/cpp
diff options
context:
space:
mode:
authoruvok2026-01-11 12:02:52 +0100
committeruvok2026-01-11 12:02:52 +0100
commit4e4401db2d168f92968bb583225c2d8a9d36cd21 (patch)
treeb1bb2f15720a8bdb9924334a3dfe18f7e2439bc1 /nandgame/cpp
parent671c20b2bbb179c9d62534f5671de18c15630b03 (diff)
ui: don't halt early (refresh UI)
Diffstat (limited to 'nandgame/cpp')
-rw-r--r--nandgame/cpp/simpc_ui.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp
index f1b3947..e4b3bf8 100644
--- a/nandgame/cpp/simpc_ui.cpp
+++ b/nandgame/cpp/simpc_ui.cpp
@@ -60,10 +60,6 @@ void simpc_ui_write(const std::unique_ptr<Vcomputer> &topp, uint64_t &i,
auto insline = print_decoded(opcode, true);
PRINT_ME(3 + NCUR_OFFSET, NCUR_X, "%-80s", insline.c_str());
- // keep old state
- if (topp->halt)
- return;
-
PRINT_ME(5 + NCUR_OFFSET, NCUR_X,
"A: 0x%04X\tD: 0x%04X\tM: 0x%04X\tRES: 0x%04X",
topp->computer->reg_A_int, topp->computer->reg_D_int,