diff options
| -rw-r--r-- | nandgame/Vcomputer__main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nandgame/Vcomputer__main.cpp b/nandgame/Vcomputer__main.cpp index 21fbf21..ad3b2bc 100644 --- a/nandgame/Vcomputer__main.cpp +++ b/nandgame/Vcomputer__main.cpp @@ -130,13 +130,12 @@ int main(int argc, char **argv, char **) { // Evaluate model topp->eval(); - draw_ui(topp, i, StepPosition_t::AFTER_EVAL); - // both bits 14 and 15 need to be set - uint16_t opcode = topp->computer->PC_content_int; if (topp->halt) break; + draw_ui(topp, i, StepPosition_t::AFTER_EVAL); + // Advance time contextp->timeInc(1); i++; |
