mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
nf flag (called IF in manuals) does _not_ block external irq, it just indicates that an one occured. This fixes some protection related issues in bosco.
This commit is contained in:
parent
c214ed0b54
commit
5b1aa2f2a2
@ -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) && cpustate->nf == 0 && state != CLEAR_LINE )
|
||||
if ( (cpustate->pio & 0x04) && state != CLEAR_LINE )
|
||||
{
|
||||
cpustate->pending_interrupt |= INT_CAUSE_EXTERNAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user