diff options
| author | uvok | 2026-01-10 12:20:30 +0100 |
|---|---|---|
| committer | uvok | 2026-01-10 12:20:30 +0100 |
| commit | d09fe328d08f5003ee7368172f0a24b4c15db277 (patch) | |
| tree | 88e6251802c91a6307ce755d727e5448558889c2 /nandgame/Vcomputer__main.cpp | |
| parent | 31a3e08a02a70dc799d2138ed0938d4d2eedb9ce (diff) | |
Fixup order/break point
Diffstat (limited to 'nandgame/Vcomputer__main.cpp')
| -rw-r--r-- | nandgame/Vcomputer__main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nandgame/Vcomputer__main.cpp b/nandgame/Vcomputer__main.cpp index ad3b2bc..26d8aa6 100644 --- a/nandgame/Vcomputer__main.cpp +++ b/nandgame/Vcomputer__main.cpp @@ -53,13 +53,13 @@ void draw_ui(const std::unique_ptr<Vcomputer> &topp, int &i, StepPosition_t sp) topp->halt ); + auto insline = print_decoded(opcode, true); + PRINT_ME(3 + NCUR_OFFSET, NCUR_X, "%-80s", insline.c_str()); + // keep old state if (topp->halt) return; - auto insline = print_decoded(opcode, true); - PRINT_ME(3 + NCUR_OFFSET, NCUR_X, "%-80s", insline.c_str()); - 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, |
