diff options
| -rw-r--r-- | nandgame/cpp/simpc_ui.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp index 64d799d..c87c62e 100644 --- a/nandgame/cpp/simpc_ui.cpp +++ b/nandgame/cpp/simpc_ui.cpp @@ -2,6 +2,7 @@ #include "simpc_config.h" #include "disas.h" +#include <cassert> #define MEMORY_CONTEXT 3 @@ -16,6 +17,7 @@ if (resized) { \ /* ????*/ \ resized = 0; \ + clear(); \ } \ refresh(); \ wrefresh(status_top); \ @@ -174,13 +176,6 @@ void simpc_ui_init(void) { RAM2 = newwin(numlines, 15, 10, romwidth + ram1width); wrefresh(RAM2); - int rc; - - rc = wresize(stdscr, getmaxy(stdscr) - 3, getmaxx(stdscr)); - assert(rc == 0); - rc = mvwin(stdscr, 3, 0); - assert(rc == 0); - nodelay(stdscr, TRUE); noecho(); cbreak(); |
