summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2021-01-30 11:51:22 +0100
committerChloe Marcec <dmarcecguzman@gmail.com>2021-01-30 11:51:22 +0100
commitee333e063d9de4b36ccbc0c5b7b3e323bff9eda3 (patch)
tree909c35758c0acfaa76750288f6a3f6e20713e1a2 /src/core
parentcleanup commenting (diff)
downloadyuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.tar
yuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.tar.gz
yuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.tar.bz2
yuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.tar.lz
yuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.tar.xz
yuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.tar.zst
yuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/k_resource_limit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cpp
index 1bcc390ff..3cee8d0f7 100644
--- a/src/core/hle/kernel/k_resource_limit.cpp
+++ b/src/core/hle/kernel/k_resource_limit.cpp
@@ -38,7 +38,7 @@ s64 KResourceLimit::GetCurrentValue(LimitableResource which) const {
const auto index = static_cast<std::size_t>(which);
s64 value{};
{
- KScopedLightLock lk{m_lock};
+ KScopedLightLock lk{lock};
value = current_values[index];
ASSERT(value >= 0);
ASSERT(current_values[index] <= limit_values[index]);