summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-11 07:58:31 +0100
committerbunnei <bunneidev@gmail.com>2022-03-15 02:14:53 +0100
commit158c5845ab6799a7e50603be9e5ac137b4b90473 (patch)
treebb06719cdf40faaab2677599505bec3a13ae22de /src/core
parentcommon: tree: Various updates. (diff)
downloadyuzu-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
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/k_address_arbiter.cpp6
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) {