diff options
| -rw-r--r-- | eater_cpu/cpp/simpc_curses.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eater_cpu/cpp/simpc_curses.cpp b/eater_cpu/cpp/simpc_curses.cpp index 759996e..0fb29c8 100644 --- a/eater_cpu/cpp/simpc_curses.cpp +++ b/eater_cpu/cpp/simpc_curses.cpp @@ -101,12 +101,13 @@ void simpc_ui_write(const std::unique_ptr<Veater_computer> &topp, uint64_t i) { topp->eater_computer->flags.__PVT__B_out ? flag_on : flag_off, topp->eater_computer->flags.__PVT__PC_out ? flag_on : flag_off, topp->eater_computer->flags.__PVT__flags_in ? flag_on : flag_off); - PRINT_ME_W( - clock_regs, flagstart + 2, 1, "%c InsO | %c RAO | %c AlO | %c Sub | %c OI", + PRINT_ME_W(clock_regs, flagstart + 2, 1, + "%c InsO | %c RAO | %c AlO | %c Sub | %c OI", topp->eater_computer->flags.__PVT__INS_out ? flag_on : flag_off, topp->eater_computer->flags.__PVT__RAM_out ? flag_on : flag_off, topp->eater_computer->flags.__PVT__ALU_out ? flag_on : flag_off, - topp->eater_computer->flags.__PVT__ALU_subtract_nadd ? flag_on : flag_off, + topp->eater_computer->flags.__PVT__ALU_subtract_nadd ? flag_on + : flag_off, topp->eater_computer->flags.__PVT__OUT_in ? flag_on : flag_off); // PRINT_ME_W( // clock_regs, flagstart, 1, |
