diff options
Diffstat (limited to 'target-m68k')
-rw-r--r-- | target-m68k/op_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-m68k/op_helper.c b/target-m68k/op_helper.c index f5593eca0c..8086238db4 100644 --- a/target-m68k/op_helper.c +++ b/target-m68k/op_helper.c @@ -148,6 +148,7 @@ void do_interrupt(int is_hw) env->sr |= SR_S; if (is_hw) { env->sr = (env->sr & ~SR_I) | (env->pending_level << SR_I_SHIFT); + env->sr &= ~SR_M; } /* Jump to vector. */ env->pc = ldl_kernel(env->vbr + vector); |