Allow "complete" reboots to occur when debug-stepping

* This allows reboot to work if RAMRD switch is set to auxmem (as it is in a few VM tests)
This commit is contained in:
Aaron Culliney 2014-04-28 11:40:51 -07:00
parent 1a7fc8ab10
commit 5b46978233

View File

@ -242,6 +242,9 @@ void cpu_thread(void *dummyptr) {
}
}
}
if (emul_reinitialize) {
reinitialize();
}
} while (is_debugging);
#ifndef NDEBUG
dbg_cycles_executed += cpu65_cycle_count;