Revision 01ba9816 target-m68k/helper.c
b/target-m68k/helper.c | ||
---|---|---|
126 | 126 |
return NULL; |
127 | 127 |
cpu_exec_init(env); |
128 | 128 |
|
129 |
env->cpu_model_str = cpu_model; |
|
130 |
|
|
129 | 131 |
if (cpu_m68k_set_model(env, cpu_model) < 0) { |
130 | 132 |
cpu_m68k_close(env); |
131 | 133 |
return NULL; |
132 | 134 |
} |
133 |
|
|
135 |
|
|
134 | 136 |
cpu_reset(env); |
135 | 137 |
return env; |
136 | 138 |
} |
Also available in: Unified diff