diff options
Diffstat (limited to 'src/devices/cpu/mb88xx/mb88xx.cpp')
-rw-r--r-- | src/devices/cpu/mb88xx/mb88xx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/mb88xx/mb88xx.cpp b/src/devices/cpu/mb88xx/mb88xx.cpp index 56f990cd599..fe07ba80d2c 100644 --- a/src/devices/cpu/mb88xx/mb88xx.cpp +++ b/src/devices/cpu/mb88xx/mb88xx.cpp @@ -369,12 +369,12 @@ int mb88_cpu_device::pla( int inA, int inB ) void mb88_cpu_device::execute_set_input(int inputnum, int state) { /* on rising edge trigger interrupt */ - if ( (m_pio & 0x04) && !m_nf && state == ASSERT_LINE ) + if ( (m_pio & 0x04) && !m_nf && state != CLEAR_LINE ) { m_pending_interrupt |= INT_CAUSE_EXTERNAL; } - m_nf = state == ASSERT_LINE; + m_nf = state != CLEAR_LINE; } void mb88_cpu_device::update_pio_enable( uint8_t newpio ) |