summaryrefslogtreecommitdiff
path: root/nandgame/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nandgame/cpp')
-rw-r--r--nandgame/cpp/simpc_term.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/nandgame/cpp/simpc_term.cpp b/nandgame/cpp/simpc_term.cpp
index 4db7266..5dc0bd0 100644
--- a/nandgame/cpp/simpc_term.cpp
+++ b/nandgame/cpp/simpc_term.cpp
@@ -11,7 +11,7 @@
printf(__VA_ARGS__); \
printf("\n"); \
}
-#define PRINT_ME_W(w, y, x, ...) \
+#define PRINT_ME_W(w, y, x, ...) \
{ \
printf("%*c", x, ' '); \
printf(__VA_ARGS__); \
@@ -20,7 +20,6 @@
#define PRINT_NEXT() \
{ puts("-----"); }
-
#include "Vcomputer.h"
#include "Vcomputer___024root.h"
#include "Vcomputer_computer.h"
@@ -59,7 +58,7 @@ void simpc_ui_write(const std::unique_ptr<Vcomputer> &topp, uint64_t &i,
topp->computer->store_to_D_int ? '*' : ' ', topp->computer->reg_D_int,
topp->computer->store_to_pA_int ? '*' : ' ', topp->computer->reg_pA_int,
topp->computer->result_int);
-
+
PRINT_NEXT();
}
@@ -81,13 +80,8 @@ void simpc_ui_finish_message(const std::unique_ptr<VerilatedContext> &contextp,
attroff(A_BOLD);
}
-void simpc_ui_init(void) {
-}
+void simpc_ui_init(void) {}
-void simpc_ui_cleanup(void) {
+void simpc_ui_cleanup(void) {}
-}
-
-void simpc_ui_confirm_finish(void) {
-
-}
+void simpc_ui_confirm_finish(void) {}