diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-11 07:58:31 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-03-15 02:14:53 +0100 |
commit | 158c5845ab6799a7e50603be9e5ac137b4b90473 (patch) | |
tree | bb06719cdf40faaab2677599505bec3a13ae22de | |
parent | common: tree: Various updates. (diff) | |
download | yuzu-158c5845ab6799a7e50603be9e5ac137b4b90473.tar yuzu-158c5845ab6799a7e50603be9e5ac137b4b90473.tar.gz yuzu-158c5845ab6799a7e50603be9e5ac137b4b90473.tar.bz2 yuzu-158c5845ab6799a7e50603be9e5ac137b4b90473.tar.lz yuzu-158c5845ab6799a7e50603be9e5ac137b4b90473.tar.xz yuzu-158c5845ab6799a7e50603be9e5ac137b4b90473.tar.zst yuzu-158c5845ab6799a7e50603be9e5ac137b4b90473.zip |
-rw-r--r-- | src/core/hle/kernel/k_address_arbiter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_address_arbiter.cpp b/src/core/hle/kernel/k_address_arbiter.cpp index 1d1f5e5f8..8cdd0490f 100644 --- a/src/core/hle/kernel/k_address_arbiter.cpp +++ b/src/core/hle/kernel/k_address_arbiter.cpp @@ -115,7 +115,7 @@ ResultCode KAddressArbiter::Signal(VAddr addr, s32 count) { { KScopedSchedulerLock sl(kernel); - auto it = thread_tree.nfind_light({addr, -1}); + auto it = thread_tree.nfind_key({addr, -1}); while ((it != thread_tree.end()) && (count <= 0 || num_waiters < count) && (it->GetAddressArbiterKey() == addr)) { // End the thread's wait. @@ -148,7 +148,7 @@ ResultCode KAddressArbiter::SignalAndIncrementIfEqual(VAddr addr, s32 value, s32 return ResultInvalidState; } - auto it = thread_tree.nfind_light({addr, -1}); + auto it = thread_tree.nfind_key({addr, -1}); while ((it != thread_tree.end()) && (count <= 0 || num_waiters < count) && (it->GetAddressArbiterKey() == addr)) { // End the thread's wait. @@ -171,7 +171,7 @@ ResultCode KAddressArbiter::SignalAndModifyByWaitingCountIfEqual(VAddr addr, s32 { [[maybe_unused]] const KScopedSchedulerLock sl(kernel); - auto it = thread_tree.nfind_light({addr, -1}); + auto it = thread_tree.nfind_key({addr, -1}); // Determine the updated value. s32 new_value{}; if (count <= 0) { |