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

This commit is contained in:
bunnei committed 2015-05-20 18:05:47 -04:00
1 parent 1c3cda5d7e
commit 0b7d2941cf
7 files changed
+22 -20

No files matched your search

+4
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() {