diff options
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index d253f4fe5..1a0c07cb9 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -152,7 +152,7 @@ static ResultCode WaitSynchronization1(Handle handle, s64 nano_seconds) { | |||
| 152 | Kernel::WaitCurrentThread_WaitSynchronization(object, false, false); | 152 | Kernel::WaitCurrentThread_WaitSynchronization(object, false, false); |
| 153 | 153 | ||
| 154 | // Create an event to wake the thread up after the specified nanosecond delay has passed | 154 | // Create an event to wake the thread up after the specified nanosecond delay has passed |
| 155 | Kernel::WakeThreadAfterDelay(Kernel::GetCurrentThread(), nano_seconds); | 155 | Kernel::GetCurrentThread()->WakeAfterDelay(nano_seconds); |
| 156 | 156 | ||
| 157 | HLE::Reschedule(__func__); | 157 | HLE::Reschedule(__func__); |
| 158 | 158 | ||
| @@ -228,7 +228,7 @@ static ResultCode WaitSynchronizationN(s32* out, Handle* handles, s32 handle_cou | |||
| 228 | } | 228 | } |
| 229 | 229 | ||
| 230 | // Create an event to wake the thread up after the specified nanosecond delay has passed | 230 | // Create an event to wake the thread up after the specified nanosecond delay has passed |
| 231 | Kernel::WakeThreadAfterDelay(Kernel::GetCurrentThread(), nano_seconds); | 231 | Kernel::GetCurrentThread()->WakeAfterDelay(nano_seconds); |
| 232 | 232 | ||
| 233 | HLE::Reschedule(__func__); | 233 | HLE::Reschedule(__func__); |
| 234 | 234 | ||
| @@ -540,7 +540,7 @@ static void SleepThread(s64 nanoseconds) { | |||
| 540 | Kernel::WaitCurrentThread_Sleep(); | 540 | Kernel::WaitCurrentThread_Sleep(); |
| 541 | 541 | ||
| 542 | // Create an event to wake the thread up after the specified nanosecond delay has passed | 542 | // Create an event to wake the thread up after the specified nanosecond delay has passed |
| 543 | Kernel::WakeThreadAfterDelay(Kernel::GetCurrentThread(), nanoseconds); | 543 | Kernel::GetCurrentThread()->WakeAfterDelay(nanoseconds); |
| 544 | 544 | ||
| 545 | HLE::Reschedule(__func__); | 545 | HLE::Reschedule(__func__); |
| 546 | } | 546 | } |