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 | bb2c956cf94d02f835f88475d03414e06b93fe9b (patch) | |
| tree | 3f0da5321db6500a905880d38e5298235d5d3f8d /src/core/hle/kernel/k_condition_variable.cpp | |
| parent | 075ae485b1589b3eaf5030a95f654a85d309fab6 (diff) | |
core: hle: kernel: k_condition_variable: Update to reflect tree changes.
Diffstat (limited to 'src/core/hle/kernel/k_condition_variable.cpp')
| -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 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); |
