diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-07 02:05:16 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-13 15:51:14 +0200 |
commit | bfdd874b1f3a7af9ec540105ed1d52edc0d72472 (patch) | |
tree | e534660ab94eee428a1d77b8c5f4e1c2df6b82db /src/core | |
parent | Thread: Updated VerifyWait to be more readable (but functionally the same). (diff) | |
download | yuzu-bfdd874b1f3a7af9ec540105ed1d52edc0d72472.tar yuzu-bfdd874b1f3a7af9ec540105ed1d52edc0d72472.tar.gz yuzu-bfdd874b1f3a7af9ec540105ed1d52edc0d72472.tar.bz2 yuzu-bfdd874b1f3a7af9ec540105ed1d52edc0d72472.tar.lz yuzu-bfdd874b1f3a7af9ec540105ed1d52edc0d72472.tar.xz yuzu-bfdd874b1f3a7af9ec540105ed1d52edc0d72472.tar.zst yuzu-bfdd874b1f3a7af9ec540105ed1d52edc0d72472.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 0385a64fd..cb5b89379 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -145,7 +145,7 @@ void ChangeReadyState(Thread* t, bool ready) { /// Verify that a thread has not been released from waiting inline bool VerifyWait(const Handle& thread, WaitType type, Handle handle) { Handle wait_id = 0; - Thread *t = g_object_pool.GetFast<Thread>(thread); + Thread* t = g_object_pool.GetFast<Thread>(thread); if (t != nullptr && type == t->wait_type && handle == t->wait_handle) { return true; } else { @@ -158,7 +158,7 @@ inline bool VerifyWait(const Handle& thread, WaitType type, Handle handle) { /// Stops the current thread void StopThread(Handle thread, const char* reason) { u32 error; - Thread *t = g_object_pool.Get<Thread>(thread, error); + Thread* t = g_object_pool.Get<Thread>(thread, error); if (t) { ChangeReadyState(t, false); t->status = THREADSTATUS_DORMANT; |