diff options
Diffstat (limited to 'target-sh4/translate.c')
-rw-r--r-- | target-sh4/translate.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index f9cabcf..bb6786a 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -1303,3 +1303,10 @@ int gen_intermediate_code_pc(CPUState * env, struct TranslationBlock *tb) { return gen_intermediate_code_internal(env, tb, 1); } + +void gen_pc_load(CPUState *env, TranslationBlock *tb, + unsigned long searched_pc, int pc_pos, void *puc) +{ + env->pc = gen_opc_pc[pc_pos]; + env->flags = gen_opc_hflags[pc_pos]; +} |