diff options
-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; } } |