fix for returning from BIOS hanging

This commit is contained in:
Jorj Bauer 2021-01-11 13:59:25 -05:00
parent 1e1177f984
commit 0b1ecceb38
1 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,10 @@ static struct timespec runBIOS(struct timespec now)
printf("BIOS loop has exited\n");
g_biosInterrupt = false; // that's all she wrote!
}
// Reset timers!
cpuClockInitialized = false;
g_cpu->cycles = 0;
return diff;
}