mirror of
https://github.com/holub/mame
synced 2025-05-31 01:51:46 +03:00
correction: irq is on falling edge
This commit is contained in:
parent
5b1aa2f2a2
commit
3f98739582
@ -247,7 +247,7 @@ static int pla( mb88_state *cpustate, int inA, int inB )
|
||||
static void set_irq_line(mb88_state *cpustate, int state)
|
||||
{
|
||||
/* on falling edge trigger interrupt */
|
||||
if ( (cpustate->pio & 0x04) && state != CLEAR_LINE )
|
||||
if ( (cpustate->pio & 0x04) && cpustate->nf && state == CLEAR_LINE )
|
||||
{
|
||||
cpustate->pending_interrupt |= INT_CAUSE_EXTERNAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user