summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-03-29 22:13:00 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-15 17:55:10 +0200
commitb5d1e447821eb21158669e0ef1d24d630602f1fe (patch)
tree0889f7ee46ffe5ffd1880abbcd786c9adf2251bf /src/core/hle/kernel/mutex.cpp
parentCorrect compiling errors and addapt to the new interface. (diff)
downloadyuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.tar
yuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.tar.gz
yuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.tar.bz2
yuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.tar.lz
yuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.tar.xz
yuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.tar.zst
yuzu-b5d1e447821eb21158669e0ef1d24d630602f1fe.zip
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) {
thread->SetMutexWaitAddress(0);
thread->SetWaitHandle(0);
+ Core::System::GetInstance().PrepareReschedule();
+
return RESULT_SUCCESS;
}
} // namespace Kernel