summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-11-21 16:03:37 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2019-11-21 16:13:29 +0100
commit46bb6099814a6ff404d337164ced016ec04ea7b9 (patch)
tree2ea68335bff35e36fa0999cef430ca022ecaae43 /src/core/hle/kernel/kernel.cpp
parentKernel: Correct SignalProcessWideKey (diff)
downloadyuzu-46bb6099814a6ff404d337164ced016ec04ea7b9.tar
yuzu-46bb6099814a6ff404d337164ced016ec04ea7b9.tar.gz
yuzu-46bb6099814a6ff404d337164ced016ec04ea7b9.tar.bz2
yuzu-46bb6099814a6ff404d337164ced016ec04ea7b9.tar.lz
yuzu-46bb6099814a6ff404d337164ced016ec04ea7b9.tar.xz
yuzu-46bb6099814a6ff404d337164ced016ec04ea7b9.tar.zst
yuzu-46bb6099814a6ff404d337164ced016ec04ea7b9.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index cdf7944f7..9d3b309b3 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -64,10 +64,10 @@ static void ThreadWakeupCallback(u64 thread_handle, [[maybe_unused]] s64 cycles_
} else if (thread->GetStatus() == ThreadStatus::WaitMutex ||
thread->GetStatus() == ThreadStatus::WaitCondVar) {
thread->SetMutexWaitAddress(0);
- thread->SetCondVarWaitAddress(0);
thread->SetWaitHandle(0);
if (thread->GetStatus() == ThreadStatus::WaitCondVar) {
thread->GetOwnerProcess()->RemoveConditionVariableThread(thread);
+ thread->SetCondVarWaitAddress(0);
}
auto* const lock_owner = thread->GetLockOwner();