diff options
| author | uvok | 2026-01-11 16:31:05 +0100 |
|---|---|---|
| committer | uvok | 2026-01-11 16:31:05 +0100 |
| commit | baf8a3f7991e60644a22cc384f3dd3baf4f2fc05 (patch) | |
| tree | 51cc18696ab22ffd0a0f3019d268d59815f71b12 /nandgame/cpp | |
| parent | 8bf039847599dd0828b42a83bd2addb6d0b28cf1 (diff) | |
Start in paused mode
Diffstat (limited to 'nandgame/cpp')
| -rw-r--r-- | nandgame/cpp/simpc_ui.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp index 1c749b3..64d799d 100644 --- a/nandgame/cpp/simpc_ui.cpp +++ b/nandgame/cpp/simpc_ui.cpp @@ -7,8 +7,6 @@ #include <ncurses.h> -static bool resized = false; - #define PRINT_ME(y, x, ...) \ { mvprintw(y, x, __VA_ARGS__); } #define PRINT_ME_W(w, y, x, ...) \ @@ -49,7 +47,8 @@ static WINDOW *RAM2 = NULL; #include <cstdio> #include <sched.h> -bool paused = false; +bool paused = true; +static bool resized = false; static void handle_key(); |
