diff options
author | bunnei <bunneidev@gmail.com> | 2015-05-20 02:24:30 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-05-21 00:05:47 +0200 |
commit | 0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f (patch) | |
tree | bce96a583e8069dc22e508df62de6cd03f394efc /src/core/hle/kernel/timer.cpp | |
parent | Merge pull request #783 from jroweboy/cond-wait (diff) | |
download | yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.gz yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.bz2 yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.lz yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.xz yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.zst yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.zip |
Diffstat (limited to 'src/core/hle/kernel/timer.cpp')
-rw-r--r-- | src/core/hle/kernel/timer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/timer.cpp b/src/core/hle/kernel/timer.cpp index e69fece65..25d066bf1 100644 --- a/src/core/hle/kernel/timer.cpp +++ b/src/core/hle/kernel/timer.cpp @@ -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() { |