diff options
author | Liam <byteslice@airmail.cc> | 2023-02-24 02:32:03 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-01 16:42:45 +0100 |
commit | 97f7f7bad59cdd42bf5f504089e5cecd441da3ce (patch) | |
tree | 1d7489c0bda11fb4e99e0a6d1acea4d4406861d4 /src/core/hle/kernel/k_light_lock.cpp | |
parent | kernel: refactor priority inheritance to represent locks as C++ objects (diff) | |
download | yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.gz yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.bz2 yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.lz yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.xz yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.zst yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.zip |
Diffstat (limited to 'src/core/hle/kernel/k_light_lock.cpp')
-rw-r--r-- | src/core/hle/kernel/k_light_lock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_light_lock.cpp b/src/core/hle/kernel/k_light_lock.cpp index b922a67a5..14cb615da 100644 --- a/src/core/hle/kernel/k_light_lock.cpp +++ b/src/core/hle/kernel/k_light_lock.cpp @@ -91,7 +91,7 @@ void KLightLock::UnlockSlowPath(uintptr_t _cur_thread) { // Get the next owner. bool has_waiters; - KThread* next_owner = owner_thread->RemoveWaiterByKey( + KThread* next_owner = owner_thread->RemoveKernelWaiterByKey( std::addressof(has_waiters), reinterpret_cast<uintptr_t>(std::addressof(tag))); // Pass the lock to the next owner. |