From 2f39246966ce66930e3de5b99d8b4c3b49da1454 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sun, 13 Jun 2021 01:58:01 +1000 Subject: [PATCH] z80pio: changing the vector neither enables nor causes an interrupt. Fixes crash in mbee256 when F2 pressed. --- src/devices/machine/z80pio.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/devices/machine/z80pio.cpp b/src/devices/machine/z80pio.cpp index d269891e333..e1664055f21 100644 --- a/src/devices/machine/z80pio.cpp +++ b/src/devices/machine/z80pio.cpp @@ -601,11 +601,6 @@ void z80pio_device::pio_port::control_write(uint8_t data) // load interrupt vector m_vector = data; if (LOG) m_device->logerror("Z80PIO Port %c Interrupt Vector: %02x\n", 'A' + m_index, data); - - // set interrupt enable - m_icw |= ICW_ENABLE_INT; - m_ie = true; - check_interrupts(); } else {