Commit 7478757e1f6745803edb9aedb6571ad9b4197a38

Authored by aurel32
1 parent 63242a00

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
Showing 1 changed file with 1 additions and 0 deletions
target-sh4/translate.c
... ... @@ -243,6 +243,7 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model)
243 243 return NULL;
244 244 cpu_exec_init(env);
245 245 sh4_translate_init();
  246 + env->cpu_model_str = cpu_model;
246 247 cpu_sh4_reset(env);
247 248 cpu_sh4_register(env, def);
248 249 tlb_flush(env, 1);
... ...