summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-06 03:54:10 +0100
committerbunnei <bunneidev@gmail.com>2018-02-06 03:54:10 +0100
commit903beb43a84e08fc37cd58110c91dfbadf0faf0f (patch)
tree7130448498d5c1c726c0a9e49e1524da7d507158 /src/core/hle/kernel
parenthid: Stub ActivateTouchScreen and SetNpadJoyHoldType. (diff)
downloadyuzu-903beb43a84e08fc37cd58110c91dfbadf0faf0f.tar
yuzu-903beb43a84e08fc37cd58110c91dfbadf0faf0f.tar.gz
yuzu-903beb43a84e08fc37cd58110c91dfbadf0faf0f.tar.bz2
yuzu-903beb43a84e08fc37cd58110c91dfbadf0faf0f.tar.lz
yuzu-903beb43a84e08fc37cd58110c91dfbadf0faf0f.tar.xz
yuzu-903beb43a84e08fc37cd58110c91dfbadf0faf0f.tar.zst
yuzu-903beb43a84e08fc37cd58110c91dfbadf0faf0f.zip
Diffstat (limited to 'src/core/hle/kernel')
-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 4e86eb918..0b9dc700c 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -70,6 +70,7 @@ ResultCode Mutex::Release(Thread* thread) {
holding_thread->held_mutexes.erase(this);
holding_thread->UpdatePriority();
SetHoldingThread(nullptr);
+ SetHasWaiters(!GetWaitingThreads().empty());
WakeupAllWaitingThreads();
Core::System::GetInstance().PrepareReschedule();