diff options
Diffstat (limited to 'target-sh4/op_helper.c')
-rw-r--r-- | target-sh4/op_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-sh4/op_helper.c b/target-sh4/op_helper.c index 48a170f79c..e5b3c98ab4 100644 --- a/target-sh4/op_helper.c +++ b/target-sh4/op_helper.c @@ -94,10 +94,11 @@ void helper_debug(void) cpu_loop_exit(); } -void helper_sleep(void) +void helper_sleep(uint32_t next_pc) { env->halted = 1; env->exception_index = EXCP_HLT; + env->pc = next_pc; cpu_loop_exit(); } |