summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Chloe Marcec2021-01-30 21:51:22 +1100
committerGravatar Chloe Marcec2021-01-30 21:51:22 +1100
commitee333e063d9de4b36ccbc0c5b7b3e323bff9eda3 (patch)
tree909c35758c0acfaa76750288f6a3f6e20713e1a2 /src
parentcleanup commenting (diff)
downloadyuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.tar.gz
yuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.tar.xz
yuzu-ee333e063d9de4b36ccbc0c5b7b3e323bff9eda3.zip
fix compile error
Diffstat (limited to 'src')
-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 {
38 const auto index = static_cast<std::size_t>(which); 38 const auto index = static_cast<std::size_t>(which);
39 s64 value{}; 39 s64 value{};
40 { 40 {
41 KScopedLightLock lk{m_lock}; 41 KScopedLightLock lk{lock};
42 value = current_values[index]; 42 value = current_values[index];
43 ASSERT(value >= 0); 43 ASSERT(value >= 0);
44 ASSERT(current_values[index] <= limit_values[index]); 44 ASSERT(current_values[index] <= limit_values[index]);