summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_condition_variable.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-24 11:40:31 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:53 +0200
commit4b03e6e776e6421c2b2c290b0822b9e5a8556a4c (patch)
tree87c2925a7adf4109a77b4f015cd36d803d4221fc /src/core/hle/kernel/k_condition_variable.cpp
parenthle: kernel: KClassToken: Ensure class tokens are correct. (diff)
downloadyuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.gz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.bz2
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.lz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.xz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.zst
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.zip
Diffstat (limited to 'src/core/hle/kernel/k_condition_variable.cpp')
-rw-r--r--src/core/hle/kernel/k_condition_variable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_condition_variable.cpp b/src/core/hle/kernel/k_condition_variable.cpp
index a9738f7ce..f51cf3e7b 100644
--- a/src/core/hle/kernel/k_condition_variable.cpp
+++ b/src/core/hle/kernel/k_condition_variable.cpp
@@ -179,7 +179,7 @@ KThread* KConditionVariable::SignalImpl(KThread* thread) {
KThread* thread_to_close = nullptr;
if (can_access) {
- if (prev_tag == InvalidHandle) {
+ if (prev_tag == Svc::InvalidHandle) {
// If nobody held the lock previously, we're all good.
thread->SetSyncedObject(nullptr, RESULT_SUCCESS);
thread->Wakeup();