diff options
Diffstat (limited to 'target-sh4/exec.h')
-rw-r--r-- | target-sh4/exec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target-sh4/exec.h b/target-sh4/exec.h index edd667d703..2999c023c0 100644 --- a/target-sh4/exec.h +++ b/target-sh4/exec.h @@ -47,4 +47,10 @@ static inline int cpu_halted(CPUState *env) { #include "softmmu_exec.h" #endif +static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) +{ + env->pc = tb->pc; + env->flags = tb->flags; +} + #endif /* _EXEC_SH4_H */ |