mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 20:28:06 -05:00
Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user