diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 3943ab3c7b07cb398ec721e89755fc948633cad5..e170cab7edf6e476619b97f79cb1d218d4cba43d 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -243,6 +243,7 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model) return NULL; cpu_exec_init(env); sh4_translate_init(); + env->cpu_model_str = cpu_model; cpu_sh4_reset(env); cpu_sh4_register(env, def); tlb_flush(env, 1);