diff options
Diffstat (limited to 'target-m68k')
-rw-r--r-- | target-m68k/cpu-qom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-m68k/cpu-qom.h b/target-m68k/cpu-qom.h index 20e5684..f4c33b2 100644 --- a/target-m68k/cpu-qom.h +++ b/target-m68k/cpu-qom.h @@ -68,5 +68,6 @@ static inline M68kCPU *m68k_env_get_cpu(CPUM68KState *env) #define ENV_GET_CPU(e) CPU(m68k_env_get_cpu(e)) +#define ENV_OFFSET offsetof(M68kCPU, env) #endif |