--- a/src/sh4/timer.c Sat Jan 06 04:05:32 2007 +0000 +++ b/src/sh4/timer.c Tue Oct 02 08:48:27 2007 +0000 @@ -1,5 +1,5 @@ /** - * $Id: timer.c,v 1.6 2007-01-06 04:05:32 nkeynes Exp $ + * $Id: timer.c,v 1.7 2007-01-25 10:18:42 nkeynes Exp $ * * SH4 Timer/Clock peripheral modules (CPG, TMU, RTC), combined together to * keep things simple (they intertwine a bit). @@ -53,7 +53,7 @@ case FRQCR: /* Frequency control */ div = ifc_divider[(val >> 6) & 0x07]; sh4_cpu_freq = sh4_input_freq / div; - sh4_cpu_period = 4000 * div / sh4_input_freq; + sh4_cpu_period = 2000 * div / sh4_input_freq; div = ifc_divider[(val >> 3) & 0x07]; sh4_bus_freq = sh4_input_freq / div; sh4_bus_period = 1000 * div / sh4_input_freq;