aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-10 22:58:48 -0800
committerbunnei <bunneidev@gmail.com>2022-03-14 18:14:53 -0700
commitbb2c956cf94d02f835f88475d03414e06b93fe9b (patch)
tree3f0da5321db6500a905880d38e5298235d5d3f8d /src
parent075ae485b1589b3eaf5030a95f654a85d309fab6 (diff)
core: hle: kernel: k_condition_variable: Update to reflect tree changes.
Diffstat (limited to 'src')
-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 aadcc297a3..8e2a9593c2 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);