summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-03-29 17:13:00 -0400
committerGravatar FernandoS272019-10-15 11:55:10 -0400
commitb5d1e447821eb21158669e0ef1d24d630602f1fe (patch)
tree0889f7ee46ffe5ffd1880abbcd786c9adf2251bf /src/core/hle/kernel/mutex.cpp
parentCorrect compiling errors and addapt to the new interface. (diff)
downloadyuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.tar.gz
yuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.tar.xz
yuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.zip
Add PrepareReschedule where required.
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 98e87313b..57f2d8bf3 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -140,6 +140,8 @@ ResultCode Mutex::Release(VAddr address) {
140 thread->SetMutexWaitAddress(0); 140 thread->SetMutexWaitAddress(0);
141 thread->SetWaitHandle(0); 141 thread->SetWaitHandle(0);
142 142
143 Core::System::GetInstance().PrepareReschedule();
144
143 return RESULT_SUCCESS; 145 return RESULT_SUCCESS;
144} 146}
145} // namespace Kernel 147} // namespace Kernel