diff options
| author | Liam <byteslice@airmail.cc> | 2023-03-06 22:47:06 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-03-12 22:06:53 -0400 |
| commit | 7893136e7429545dfd466c31b3e2b7f5320546a7 (patch) | |
| tree | 738f77aaa53264939d45240cf37e52c496b6b0c5 /src/core/hle/kernel/k_spin_lock.cpp | |
| parent | d41368663b353d98f2610ba7d38633d985f31190 (diff) | |
kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock
Diffstat (limited to 'src/core/hle/kernel/k_spin_lock.cpp')
| -rw-r--r-- | src/core/hle/kernel/k_spin_lock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_spin_lock.cpp b/src/core/hle/kernel/k_spin_lock.cpp index 6e16a18495..8525320374 100644 --- a/src/core/hle/kernel/k_spin_lock.cpp +++ b/src/core/hle/kernel/k_spin_lock.cpp @@ -6,15 +6,15 @@ namespace Kernel { void KSpinLock::Lock() { - lck.lock(); + m_lock.lock(); } void KSpinLock::Unlock() { - lck.unlock(); + m_lock.unlock(); } bool KSpinLock::TryLock() { - return lck.try_lock(); + return m_lock.try_lock(); } } // namespace Kernel |
