mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +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)
|
static void set_irq_line(mb88_state *cpustate, int state)
|
||||||
{
|
{
|
||||||
/* on falling edge trigger interrupt */
|
/* 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;
|
cpustate->pending_interrupt |= INT_CAUSE_EXTERNAL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user