diff options
author | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2011-09-06 00:51:54 +0000 |
---|---|---|
committer | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2011-09-06 00:51:54 +0000 |
commit | 60ba9ae98815ffac4248cb6588984ce77d0c4466 (patch) | |
tree | 6ad51748d94f724d11b273cca0f12454d1250b89 | |
parent | 322f5204594932fc1c88f8e4aed587b6bd14e09e (diff) |
cpu only continues when an interrupt is actually executed (handled in m37710i_update_irqs)
-rw-r--r-- | src/emu/cpu/m37710/m37710op.h | 15 |
1 files 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; } } |