Pseudo-halt timing fix
This commit is contained in:
+1
-1
@@ -1860,7 +1860,7 @@ static uint32_t cpuUntil(VB *sim, uint32_t clocks) {
|
||||
|
||||
/* Pseudo-halting */
|
||||
if (sim->cpu.operation == CPU_PHALT) {
|
||||
if (sim->cpu.clocks == 0) /* Requires an interrupt */
|
||||
if (sim->cpu.clocks == 0)
|
||||
return clocks;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user