diff options
| author | 2022-03-10 22:58:48 -0800 | |
|---|---|---|
| committer | 2022-03-14 18:14:53 -0700 | |
| commit | 944d9186ca7811fb7959fef7c46df588a016c995 (patch) | |
| tree | 3f0da5321db6500a905880d38e5298235d5d3f8d /src | |
| parent | core: hle: kernel: k_address_arbiter: Update to reflect tree changes. (diff) | |
| download | yuzu-944d9186ca7811fb7959fef7c46df588a016c995.tar.gz yuzu-944d9186ca7811fb7959fef7c46df588a016c995.tar.xz yuzu-944d9186ca7811fb7959fef7c46df588a016c995.zip | |
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) { | |||
| 244 | { | 244 | { |
| 245 | KScopedSchedulerLock sl(kernel); | 245 | KScopedSchedulerLock sl(kernel); |
| 246 | 246 | ||
| 247 | auto it = thread_tree.nfind_light({cv_key, -1}); | 247 | auto it = thread_tree.nfind_key({cv_key, -1}); |
| 248 | while ((it != thread_tree.end()) && (count <= 0 || num_waiters < count) && | 248 | while ((it != thread_tree.end()) && (count <= 0 || num_waiters < count) && |
| 249 | (it->GetConditionVariableKey() == cv_key)) { | 249 | (it->GetConditionVariableKey() == cv_key)) { |
| 250 | KThread* target_thread = std::addressof(*it); | 250 | KThread* target_thread = std::addressof(*it); |