diff options
author | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2011-11-27 01:05:47 +0000 |
---|---|---|
committer | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2011-11-27 01:05:47 +0000 |
commit | 3f987395822b95f698433feb343de85ec8cf7705 (patch) | |
tree | 4cc8501b8f5b247efcc4eb860c6432b064156ece | |
parent | 5b1aa2f2a2e82aea6681e80c7e92d6b659b07678 (diff) |
correction: irq is on falling edge
-rw-r--r-- | src/emu/cpu/mb88xx/mb88xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/mb88xx/mb88xx.c b/src/emu/cpu/mb88xx/mb88xx.c index 1dd813f06ad..7ede63decac 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) && state != CLEAR_LINE ) + if ( (cpustate->pio & 0x04) && cpustate->nf && state == CLEAR_LINE ) { cpustate->pending_interrupt |= INT_CAUSE_EXTERNAL; } |