From 4952a4b5048d39a605d89375d83d38e08887dee2 Mon Sep 17 00:00:00 2001 From: Ry Date: Thu, 27 Oct 2022 15:33:38 -0700 Subject: [PATCH] Show CPU core error messages if debug output is enabled --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 142ffc9..0feec46 100644 --- a/src/main.c +++ b/src/main.c @@ -135,7 +135,7 @@ void main_loop(void) { error = fox32_resume(&vm, cycles_left, &executed); if (error != FOX32_ERR_OK) { - //puts(fox32_strerr(error)); + if (vm.debug) puts(fox32_strerr(error)); error = fox32_recover(&vm, error); if (error != FOX32_ERR_OK) break;