commit | 1970cb8118b3cdb79f715bb3e9173acd8dee9786 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Mon Aug 10 13:22:39 2020 -0700 |
committer | swissChili <swisschili@fastmail.com> | Mon Aug 10 13:22:39 2020 -0700 |
tree | 77b4f7cd15ad4f6b126375c6d7257a7c035a8475 | |
parent | c6b4f7e34ea1bad432d59c7cff283dfb08e398d1 [diff] [blame] |
Multithread gui, remove hard coded cpu->pc
diff --git a/dbg.c b/dbg.c index 577feee..fe1355d 100644 --- a/dbg.c +++ b/dbg.c
@@ -52,6 +52,10 @@ { *running = true; } + else if (!strcmp(tok, "pause")) + { + *running = false; + } else if (!strcmp(tok, "quit") || !strcmp(tok, "exit")) { printf("Bye\n");