diff options
Diffstat (limited to 'target-m68k/cpu.h')
-rw-r--r-- | target-m68k/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 7691452..cfeafc0 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -229,7 +229,7 @@ static inline int cpu_mmu_index (CPUState *env) #if defined(CONFIG_USER_ONLY) static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) { - if (!newsp) + if (newsp) env->aregs[7] = newsp; env->dregs[0] = 0; } |