aboutsummaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-15 07:34:45 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-15 07:34:45 +0000
commit7478757e1f6745803edb9aedb6571ad9b4197a38 (patch)
tree5d4c1ab129f230492d2ac7a8bfdb403857e8727e /target-sh4
parent63242a007a1898f504837bb7c3c97ce90ae0c8e4 (diff)
sh4: doesn't set the cpu_model_str
Fix setting of cpu_model_str for sh4 (Michael Trimarchi) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5222 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r--target-sh4/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index 3943ab3c7b..e170cab7ed 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);