diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-18 14:33:11 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-21 20:47:46 -0500 |
commit | 9412996c8f86f5da5a9052f7533b05e9780c4eb0 (patch) | |
tree | af0ddc0b464d92c7e13664f6f435c5de6c36301a /src/core/hle/kernel/thread.cpp | |
parent | c06d64528a666f450e42cb1792ac995fc1697e76 (diff) |
Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a WaitObject safely.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 16865ccc..271828ea 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -210,7 +210,7 @@ void WaitCurrentThread_Sleep() { ChangeThreadState(thread, ThreadStatus(THREADSTATUS_WAIT | (thread->status & THREADSTATUS_SUSPEND))); } -void WaitCurrentThread_WaitSynchronization(WaitObject* wait_object, bool wait_all) { +void WaitCurrentThread_WaitSynchronization(SharedPtr<WaitObject> wait_object, bool wait_all) { Thread* thread = GetCurrentThread(); thread->wait_all = wait_all; thread->wait_address = 0; |