diff options
| author | uvok | 2026-01-11 11:04:18 +0100 |
|---|---|---|
| committer | uvok | 2026-01-11 11:04:18 +0100 |
| commit | 68b1ea87aa8d2bb7be4706f9888944978013ae57 (patch) | |
| tree | 7e5b3c2c2f1777ff44117d359a9dfa961583cd47 /nandgame/cpp/simpc_ui.cpp | |
| parent | cf638ff41dab087910b9b6b7930e620773a6a433 (diff) | |
Rename functions
Diffstat (limited to 'nandgame/cpp/simpc_ui.cpp')
| -rw-r--r-- | nandgame/cpp/simpc_ui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp index 5a75121..44d3424 100644 --- a/nandgame/cpp/simpc_ui.cpp +++ b/nandgame/cpp/simpc_ui.cpp @@ -42,7 +42,7 @@ #include <cstdio> #include <sched.h> -void draw_ui(const std::unique_ptr<Vcomputer> &topp, int &i, +void simpc_ui_write(const std::unique_ptr<Vcomputer> &topp, int &i, StepPosition_t sp) { uint16_t opcode = topp->computer->PC_content_int; @@ -77,7 +77,7 @@ void draw_ui(const std::unique_ptr<Vcomputer> &topp, int &i, PRINT_NEXT(); } -void draw_finish(const std::unique_ptr<VerilatedContext> &contextp, +void simpc_ui_finish_message(const std::unique_ptr<VerilatedContext> &contextp, const std::unique_ptr<Vcomputer> &topp) { #if NCUR refresh(); @@ -92,14 +92,14 @@ void draw_finish(const std::unique_ptr<VerilatedContext> &contextp, } } -void draw_init(void) { +void simpc_ui_init(void) { #if NCUR initscr(); curs_set(0); #endif } -void ui_finish(void) { +void simpc_ui_cleanup(void) { #if NCUR getch(); endwin(); |
