summaryrefslogtreecommitdiffstats
path: root/target/rx/op_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/rx/op_helper.c')
-rw-r--r--target/rx/op_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/rx/op_helper.c b/target/rx/op_helper.c
index 11f952d340..81645adde3 100644
--- a/target/rx/op_helper.c
+++ b/target/rx/op_helper.c
@@ -448,6 +448,7 @@ void QEMU_NORETURN helper_wait(CPURXState *env)
cs->halted = 1;
env->in_sleep = 1;
+ env->psw_i = 1;
raise_exception(env, EXCP_HLT, 0);
}