diff options
Diffstat (limited to 'target-m68k/translate.c')
-rw-r--r-- | target-m68k/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 83db42a7d3..ecd5e5c8fd 100644 --- a/target-m68k/translate.c +++ b/target-m68k/translate.c @@ -78,6 +78,7 @@ void m68k_tcg_init(void) int i; cpu_env = tcg_global_reg_new_ptr(TCG_AREG0, "env"); + tcg_ctx.tcg_env = cpu_env; #define DEFO32(name, offset) \ QREG_##name = tcg_global_mem_new_i32(cpu_env, \ |