Clearer VERBOSE messages

This commit is contained in:
2023-11-01 15:22:47 +00:00
parent 6a270eda1e
commit 6d35283ef0
3 changed files with 66 additions and 28 deletions

View File

@@ -299,7 +299,8 @@ err_t vm_execute_all(vm_t *vm)
}
#if VERBOSE >= 1
fprintf(stdout, "[vm_execute_all]: Final VM state(Cycle %lu)\n", cycles);
fprintf(stdout, "[%svm_execute_all%s]: Final VM state(Cycle %lu)\n",
TERM_YELLOW, TERM_RESET, cycles);
vm_print_all(vm, stdout);
#endif
return err;