summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok2026-01-11 15:34:19 +0100
committeruvok2026-01-11 15:34:19 +0100
commit307433ade86a5fa68e93f6da454d09974109b932 (patch)
treed2b75502f337db38066095c9996458d372ca5c93
parent95d3f6db0bf4e46f8bc9799548681fe7890225e9 (diff)
Fixup order of refresh/delay
-rw-r--r--nandgame/cpp/simpc_ui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp
index 4bfc93b..2740db8 100644
--- a/nandgame/cpp/simpc_ui.cpp
+++ b/nandgame/cpp/simpc_ui.cpp
@@ -15,11 +15,11 @@
#define PRINT_NEXT(dly) \
{ \
refresh(); \
+ wrefresh(status_top); \
+ wrefresh(clock_regs); \
if (dly) { \
napms(NCUR_DELAY_MS); \
} \
- wrefresh(status_top); \
- wrefresh(clock_regs); \
}
#define SIMPLE_BORDER(w, lr, tb, c) \