summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_condition_variable.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-01-24 02:31:03 +0100
committerLiam <byteslice@airmail.cc>2023-01-24 02:31:03 +0100
commit693cad8e9b45cb61370bbc05e8e0022ea42044f9 (patch)
tree7a64dd5d228f3d1611f6df381504ace9a9bf863a /src/core/hle/kernel/k_condition_variable.cpp
parentkernel: fix incorrect locking order in suspension (diff)
downloadyuzu-693cad8e9b45cb61370bbc05e8e0022ea42044f9.tar
yuzu-693cad8e9b45cb61370bbc05e8e0022ea42044f9.tar.gz
yuzu-693cad8e9b45cb61370bbc05e8e0022ea42044f9.tar.bz2
yuzu-693cad8e9b45cb61370bbc05e8e0022ea42044f9.tar.lz
yuzu-693cad8e9b45cb61370bbc05e8e0022ea42044f9.tar.xz
yuzu-693cad8e9b45cb61370bbc05e8e0022ea42044f9.tar.zst
yuzu-693cad8e9b45cb61370bbc05e8e0022ea42044f9.zip
Diffstat (limited to '')
-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 124149697..0c6b20db3 100644
--- a/src/core/hle/kernel/k_condition_variable.cpp
+++ b/src/core/hle/kernel/k_condition_variable.cpp
@@ -171,7 +171,7 @@ Result KConditionVariable::WaitForAddress(Handle handle, VAddr addr, u32 value)
R_UNLESS(owner_thread != nullptr, ResultInvalidHandle);
// Update the lock.
- cur_thread->SetAddressKey(addr, value);
+ cur_thread->SetUserAddressKey(addr, value);
owner_thread->AddWaiter(cur_thread);
// Begin waiting.