From 5b1aa2f2a2e82aea6681e80c7e92d6b659b07678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sun, 27 Nov 2011 00:39:27 +0000 Subject: [PATCH] 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. --- src/emu/cpu/mb88xx/mb88xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/cpu/mb88xx/mb88xx.c b/src/emu/cpu/mb88xx/mb88xx.c index 0972d89901c..1dd813f06ad 100644 --- a/src/emu/cpu/mb88xx/mb88xx.c +++ b/src/emu/cpu/mb88xx/mb88xx.c @@ -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; }