Show CPU core error messages if debug output is enabled

This commit is contained in:
Ry 2022-10-27 15:33:38 -07:00
parent 5b00bcef56
commit 4952a4b504

View File

@ -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;