Show CPU core error messages if debug output is enabled
This commit is contained in:
parent
5b00bcef56
commit
4952a4b504
|
@ -135,7 +135,7 @@ void main_loop(void) {
|
||||||
|
|
||||||
error = fox32_resume(&vm, cycles_left, &executed);
|
error = fox32_resume(&vm, cycles_left, &executed);
|
||||||
if (error != FOX32_ERR_OK) {
|
if (error != FOX32_ERR_OK) {
|
||||||
//puts(fox32_strerr(error));
|
if (vm.debug) puts(fox32_strerr(error));
|
||||||
error = fox32_recover(&vm, error);
|
error = fox32_recover(&vm, error);
|
||||||
if (error != FOX32_ERR_OK)
|
if (error != FOX32_ERR_OK)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user