summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/z80pio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/z80pio.c')
-rw-r--r--src/emu/machine/z80pio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/z80pio.c b/src/emu/machine/z80pio.c
index 1a74dbac07d..ab9f43ba65a 100644
--- a/src/emu/machine/z80pio.c
+++ b/src/emu/machine/z80pio.c
@@ -109,7 +109,7 @@ static void update_irq_state(z80pio *pio, int ch)
int old_state = pio->int_state[ch];
int irq = 0;
int data;
- if (pio->mode[ch] == 0x13) return;
+ if (pio->mode[ch] == 0x13 || (pio->enable[ch] & PIO_INT_MASK)) return;
/* only check if interrupts are enabled */
if (pio->enable[ch] & PIO_INT_ENABLE)