[nostalgia/core/gba] Fix timer frequency

This commit is contained in:
Gary Talent 2020-07-14 02:53:20 -05:00
parent 0318ba92ce
commit d73bbfb37a

View File

@ -31,7 +31,7 @@ static void initIrq() {
static void initTimer() { static void initTimer() {
// make timer0 a ~1 millisecond timer // make timer0 a ~1 millisecond timer
REG_TIMER0 = TicksMs59ns; REG_TIMER0 = TicksMs59ns;
REG_TIMER0CTL = 0b11000011; REG_TIMER0CTL = 0b11000000;
// enable interrupt for timer0 // enable interrupt for timer0
REG_IE |= Int_timer0; REG_IE |= Int_timer0;
} }