Pseudo-halt timing fix

This commit is contained in:
2024-10-23 21:16:35 -05:00
parent 0c914fce1a
commit bcd80d291b
3 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -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;
}