From e290212a9d8e084b1b3a560b20a08d2e07947f30 Mon Sep 17 00:00:00 2001 From: Wilbert Pol Date: Mon, 2 Jun 2008 19:28:29 +0000 Subject: [PATCH] Fixed taking of interrupts in the Nintendo Minx cpu core. --- src/emu/cpu/minx/minx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/cpu/minx/minx.c b/src/emu/cpu/minx/minx.c index 7f36244622c..575e4f3404e 100644 --- a/src/emu/cpu/minx/minx.c +++ b/src/emu/cpu/minx/minx.c @@ -171,9 +171,9 @@ static int minx_execute( int cycles ) if ( regs.interrupt_pending ) { regs.halted = 0; - if ( ( regs.F & 0xc0 ) == 0x40 ) + if ( ! ( regs.F & 0xc0 ) ) { - logerror("minx_execute(): taking IRQ\n"); + //logerror("minx_execute(): taking IRQ\n"); PUSH8( regs.V ); PUSH16( regs.PC ); PUSH8( regs.F );