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
This commit is contained in:
aurel32 2008-09-15 07:34:45 +00:00
parent 63242a007a
commit 7478757e1f

View File

@ -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);