From 60ba9ae98815ffac4248cb6588984ce77d0c4466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Tue, 6 Sep 2011 00:51:54 +0000 Subject: cpu only continues when an interrupt is actually executed (handled in m37710i_update_irqs) --- src/emu/cpu/m37710/m37710op.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/emu/cpu/m37710/m37710op.h b/src/emu/cpu/m37710/m37710op.h index 972ab670dfb..64b025f5a3f 100644 --- a/src/emu/cpu/m37710/m37710op.h +++ b/src/emu/cpu/m37710/m37710op.h @@ -2823,7 +2823,8 @@ TABLE_FUNCTION(void, set_line, (m37710i_cpu_struct *cpustate, int line, int stat { cpustate->m37710_regs[m37710_irq_levels[line]] &= ~8; } - return; + break; + case ASSERT_LINE: case PULSE_LINE: case HOLD_LINE: @@ -2833,16 +2834,12 @@ TABLE_FUNCTION(void, set_line, (m37710i_cpu_struct *cpustate, int line, int stat cpustate->m37710_regs[m37710_irq_levels[line]] |= 8; } break; - } - // if I flag is set, trip the WAI mechanism only (may not be totally accurate) - if(FLAG_I) - { - if(CPU_STOPPED & STOP_LEVEL_WAI) - CPU_STOPPED &= ~STOP_LEVEL_WAI; - return; + default: break; } - return; + break; + + default: break; } } -- cgit v1.2.3