From 189f5ef10cf7a0d81ff775255246a2bcc1183c7b Mon Sep 17 00:00:00 2001 From: mahoneyt944 <49591133+mahoneyt944@users.noreply.github.com> Date: Thu, 23 May 2024 05:12:34 -0400 Subject: [PATCH] Fix pause interrupt --- src/cpuint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpuint.c b/src/cpuint.c index fffce170..c7dcc704 100644 --- a/src/cpuint.c +++ b/src/cpuint.c @@ -312,7 +312,7 @@ void cpu_set_irq_line_and_vector(int cpunum, int irqline, int state, int vector) INT32 irq_event = (state & 0xff) | ((irqline & 0xff) << 8) | (vector << 16); int event_index; - if (cpu_pause_state) return; + if (cpu_pause_state && state == PULSE_LINE) return; event_index = irq_event_index[cpunum]++;