summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2015-01-20 18:33:23 -0500
committerGravatar bunnei2015-01-21 20:48:36 -0500
commit2f3020a10247a0cb47848a6f8c19fbde50a7e0a6 (patch)
treeeb664bee7c58bd5a2e93c686d6586ac2bf42cdd1 /src/core/hle/kernel/thread.cpp
parentKernel: Renamed some functions for clarity. (diff)
downloadyuzu-2f3020a10247a0cb47848a6f8c19fbde50a7e0a6.tar.gz
yuzu-2f3020a10247a0cb47848a6f8c19fbde50a7e0a6.tar.xz
yuzu-2f3020a10247a0cb47848a6f8c19fbde50a7e0a6.zip
Mutex: Cleanup and remove redundant code.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index ab1126a36..3ca9603c2 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -100,7 +100,7 @@ static bool CheckWait_AddressArbiter(const Thread* thread, VAddr wait_address) {
100/// Stops the current thread 100/// Stops the current thread
101void Thread::Stop(const char* reason) { 101void Thread::Stop(const char* reason) {
102 // Release all the mutexes that this thread holds 102 // Release all the mutexes that this thread holds
103 ReleaseThreadMutexes(GetHandle()); 103 ReleaseThreadMutexes(this);
104 104
105 ChangeReadyState(this, false); 105 ChangeReadyState(this, false);
106 status = THREADSTATUS_DORMANT; 106 status = THREADSTATUS_DORMANT;