summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 98e87313b..663d0f4b6 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -139,6 +139,9 @@ 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);
143
144 system.PrepareReschedule();
142 145
143 return RESULT_SUCCESS; 146 return RESULT_SUCCESS;
144} 147}