summary refs log tree commit diff stats
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 76a746300e..9ca32dcc82 100644
--- a/target/rx/op_helper.c
+++ b/target/rx/op_helper.c
@@ -450,6 +450,7 @@ G_NORETURN void helper_wait(CPURXState *env)
 
     cs->halted = 1;
     env->in_sleep = 1;
+    env->psw_i = 1;
     raise_exception(env, EXCP_HLT, 0);
 }