mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-30 16:30:07 +00:00
fixup! CoreTiming: Fix ARM11 clock rate, add ability to use nanoseconds in core timing, add overflow handling
This commit is contained in:
parent
e4d51b8ff4
commit
1d34c6af46
@ -57,8 +57,7 @@ void Timer::Set(s64 initial, s64 interval) {
|
|||||||
// Immediately invoke the callback
|
// Immediately invoke the callback
|
||||||
Signal(0);
|
Signal(0);
|
||||||
} else {
|
} else {
|
||||||
CoreTiming::ScheduleEvent(nsToCycles(initial), timer_callback_event_type,
|
CoreTiming::ScheduleEvent(nsToCycles(initial), timer_callback_event_type, callback_handle);
|
||||||
callback_handle);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user