diff options
| author | Liam <byteslice@airmail.cc> | 2023-01-23 20:31:03 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-01-23 20:31:03 -0500 |
| commit | b85a155abdf27822ed661a3e3e751316b6a93f88 (patch) | |
| tree | 7a64dd5d228f3d1611f6df381504ace9a9bf863a /src/core/hle/kernel/k_light_lock.cpp | |
| parent | 31945a6e8b089fc11b35e65160f69329f4e5653a (diff) | |
kernel: split SetAddressKey into user and kernel variants
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 43185320d2..d791acbe32 100644 --- a/src/core/hle/kernel/k_light_lock.cpp +++ b/src/core/hle/kernel/k_light_lock.cpp @@ -68,7 +68,7 @@ bool KLightLock::LockSlowPath(uintptr_t _owner, uintptr_t _cur_thread) { // Add the current thread as a waiter on the owner. KThread* owner_thread = reinterpret_cast<KThread*>(_owner & ~1ULL); - cur_thread->SetAddressKey(reinterpret_cast<uintptr_t>(std::addressof(tag))); + cur_thread->SetKernelAddressKey(reinterpret_cast<uintptr_t>(std::addressof(tag))); owner_thread->AddWaiter(cur_thread); // Begin waiting to hold the lock. |
