aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-m68k/cpu.c')
-rw-r--r--target-m68k/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-m68k/cpu.c b/target-m68k/cpu.c
index ef02d9f60e..ba17480098 100644
--- a/target-m68k/cpu.c
+++ b/target-m68k/cpu.c
@@ -58,7 +58,7 @@ static void m68k_cpu_reset(CPUState *s)
#endif
m68k_switch_sp(env);
/* ??? FP regs should be initialized to NaN. */
- env->cc_op = CC_OP_FLAGS;
+ cpu_m68k_set_ccr(env, 0);
/* TODO: We should set PC from the interrupt vector. */
env->pc = 0;
tlb_flush(s, 1);