diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-31 02:07:54 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-02-02 18:37:01 +0100 |
commit | 664c79ff47054df845096e7e29d5cc437dfec2a2 (patch) | |
tree | 1ebd682a7e75c964f2ac98f2dffbc5adba037442 /src/core/hle/svc.cpp | |
parent | Service: Store function names as const char* instead of std::string (diff) | |
download | yuzu-664c79ff47054df845096e7e29d5cc437dfec2a2.tar yuzu-664c79ff47054df845096e7e29d5cc437dfec2a2.tar.gz yuzu-664c79ff47054df845096e7e29d5cc437dfec2a2.tar.bz2 yuzu-664c79ff47054df845096e7e29d5cc437dfec2a2.tar.lz yuzu-664c79ff47054df845096e7e29d5cc437dfec2a2.tar.xz yuzu-664c79ff47054df845096e7e29d5cc437dfec2a2.tar.zst yuzu-664c79ff47054df845096e7e29d5cc437dfec2a2.zip |
Diffstat (limited to '')
-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) { Kernel::WaitCurrentThread_WaitSynchronization(object, false, false); // Create an event to wake the thread up after the specified nanosecond delay has passed - Kernel::WakeThreadAfterDelay(Kernel::GetCurrentThread(), nano_seconds); + Kernel::GetCurrentThread()->WakeAfterDelay(nano_seconds); HLE::Reschedule(__func__); @@ -228,7 +228,7 @@ static ResultCode WaitSynchronizationN(s32* out, Handle* handles, s32 handle_cou } // Create an event to wake the thread up after the specified nanosecond delay has passed - Kernel::WakeThreadAfterDelay(Kernel::GetCurrentThread(), nano_seconds); + Kernel::GetCurrentThread()->WakeAfterDelay(nano_seconds); HLE::Reschedule(__func__); @@ -540,7 +540,7 @@ static void SleepThread(s64 nanoseconds) { Kernel::WaitCurrentThread_Sleep(); // Create an event to wake the thread up after the specified nanosecond delay has passed - Kernel::WakeThreadAfterDelay(Kernel::GetCurrentThread(), nanoseconds); + Kernel::GetCurrentThread()->WakeAfterDelay(nanoseconds); HLE::Reschedule(__func__); } |