summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-10-07 18:57:13 -0400
committerGravatar FernandoS272019-10-15 11:55:18 -0400
commit44e09e5f21915391672558940842b92e3a64cb1b (patch)
tree3a0e4db9cff1ad0ed7c70d4a6fc91695f8e1c137 /src/core/hle/kernel/mutex.cpp
parentKernel: Clang Format (diff)
downloadyuzu-44e09e5f21915391672558940842b92e3a64cb1b.tar.gz
yuzu-44e09e5f21915391672558940842b92e3a64cb1b.tar.xz
yuzu-44e09e5f21915391672558940842b92e3a64cb1b.zip
Kernel: Correct Results in Condition Variables and Mutexes
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index eb919246c..663d0f4b6 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -139,6 +139,7 @@ ResultCode Mutex::Release(VAddr address) {
139 thread->SetCondVarWaitAddress(0); 139 thread->SetCondVarWaitAddress(0);
140 thread->SetMutexWaitAddress(0); 140 thread->SetMutexWaitAddress(0);
141 thread->SetWaitHandle(0); 141 thread->SetWaitHandle(0);
142 thread->SetWaitSynchronizationResult(RESULT_SUCCESS);
142 143
143 system.PrepareReschedule(); 144 system.PrepareReschedule();
144 145