mirror of
https://github.com/holub/mame
synced 2025-07-08 11:21:56 +03:00
pic8259: fixed a polling mode bug
This commit is contained in:
parent
f624c52cef
commit
d0ad3fd637
@ -152,11 +152,6 @@ READ8_MEMBER( pic8259_device::read )
|
||||
if ( m_ocw3 & 0x04 )
|
||||
{
|
||||
/* Polling mode */
|
||||
if ( m_isr & ~m_imr )
|
||||
{
|
||||
acknowledge();
|
||||
}
|
||||
|
||||
if ( m_irr & ~m_imr )
|
||||
{
|
||||
/* check the various IRQs */
|
||||
@ -168,6 +163,7 @@ READ8_MEMBER( pic8259_device::read )
|
||||
break;
|
||||
}
|
||||
}
|
||||
acknowledge();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user