Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.

This commit is contained in:
bunnei 2015-05-19 20:24:30 -04:00
parent 1c3cda5d7e
commit 0b7d2941cf
7 changed files with 22 additions and 20 deletions

View file

@ -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() {