diff options
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c index 97af4d0bba..3fe5822f61 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -390,7 +390,7 @@ CPUARMState *cpu_arm_init(const char *cpu_model) return NULL; env = g_malloc0(sizeof(CPUARMState)); cpu_exec_init(env); - if (!inited) { + if (tcg_enabled() && !inited) { inited = 1; arm_translate_init(); } |