diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-10 22:58:48 -0800 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-03-14 18:14:53 -0700 |
commit | 944d9186ca7811fb7959fef7c46df588a016c995 (patch) | |
tree | 3f0da5321db6500a905880d38e5298235d5d3f8d /src | |
parent | 158c5845ab6799a7e50603be9e5ac137b4b90473 (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.cpp | 2 |
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); |