From 1b09b335e07f4d0018d0632abce6078d7d1a3e9b Mon Sep 17 00:00:00 2001 From: Folkert van Heusden Date: Tue, 15 Apr 2025 21:42:37 +0200 Subject: [PATCH] 631c251c08b4045153ad2ff9ef366748986c7773 broke interrupt handling --- cpu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpu.cpp b/cpu.cpp index c58358a..440ec81 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -2445,6 +2445,9 @@ bool cpu::step() { it_is_a_trap = false; + if (any_queued_interrupts) + execute_any_pending_interrupt(); + instruction_count++; try {