Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.
This commit is contained in:
parent
1c3cda5d7e
commit
0b7d2941cf
7 changed files with 22 additions and 20 deletions
|
@ -52,10 +52,14 @@ void Timer::Set(s64 initial, s64 interval) {
|
|||
u64 initial_microseconds = initial / 1000;
|
||||
CoreTiming::ScheduleEvent(usToCycles(initial_microseconds),
|
||||
timer_callback_event_type, callback_handle);
|
||||
|
||||
HLE::Reschedule(__func__);
|
||||
}
|
||||
|
||||
void Timer::Cancel() {
|
||||
CoreTiming::UnscheduleEvent(timer_callback_event_type, callback_handle);
|
||||
|
||||
HLE::Reschedule(__func__);
|
||||
}
|
||||
|
||||
void Timer::Clear() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue