Skip to content

Commit

Permalink
Fix pause interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
mahoneyt944 authored May 23, 2024
1 parent 80a1769 commit 189f5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpuint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]++;

Expand Down

0 comments on commit 189f5ef

Please sign in to comment.