summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-11 07:58:48 +0100
committerbunnei <bunneidev@gmail.com>2022-03-15 02:14:53 +0100
commit944d9186ca7811fb7959fef7c46df588a016c995 (patch)
tree3f0da5321db6500a905880d38e5298235d5d3f8d /src/core
parentcore: hle: kernel: k_address_arbiter: Update to reflect tree changes. (diff)
downloadyuzu-944d9186ca7811fb7959fef7c46df588a016c995.tar
yuzu-944d9186ca7811fb7959fef7c46df588a016c995.tar.gz
yuzu-944d9186ca7811fb7959fef7c46df588a016c995.tar.bz2
yuzu-944d9186ca7811fb7959fef7c46df588a016c995.tar.lz
yuzu-944d9186ca7811fb7959fef7c46df588a016c995.tar.xz
yuzu-944d9186ca7811fb7959fef7c46df588a016c995.tar.zst
yuzu-944d9186ca7811fb7959fef7c46df588a016c995.zip
Diffstat (limited to 'src/core')
-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 aadcc297a..8e2a9593c 100644
--- a/src/core/hle/kernel/k_condition_variable.cpp
+++ b/src/core/hle/kernel/k_condition_variable.cpp
@@ -244,7 +244,7 @@ void KConditionVariable::Signal(u64 cv_key, s32 count) {
{
KScopedSchedulerLock sl(kernel);
- auto it = thread_tree.nfind_light({cv_key, -1});
+ auto it = thread_tree.nfind_key({cv_key, -1});
while ((it != thread_tree.end()) && (count <= 0 || num_waiters < count) &&
(it->GetConditionVariableKey() == cv_key)) {
KThread* target_thread = std::addressof(*it);