summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2008-06-02 19:28:29 +0000
committer Wilbert Pol <wilbert@jdg.info>2008-06-02 19:28:29 +0000
commite290212a9d8e084b1b3a560b20a08d2e07947f30 (patch)
tree093547806d15094ce3bae9f56c0caf0db9ab3435
parent9933905b03d9faa74c1e515d377e8ad40e72f54e (diff)
Fixed taking of interrupts in the Nintendo Minx cpu core.
-rw-r--r--src/emu/cpu/minx/minx.c4
1 files 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 );