2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

fix compile error

This commit is contained in:
Chloe Marcec 2021-01-30 21:51:22 +11:00
parent 56742c6222
commit ee333e063d

View file

@ -38,7 +38,7 @@ s64 KResourceLimit::GetCurrentValue(LimitableResource which) const {
const auto index = static_cast<std::size_t>(which); const auto index = static_cast<std::size_t>(which);
s64 value{}; s64 value{};
{ {
KScopedLightLock lk{m_lock}; KScopedLightLock lk{lock};
value = current_values[index]; value = current_values[index];
ASSERT(value >= 0); ASSERT(value >= 0);
ASSERT(current_values[index] <= limit_values[index]); ASSERT(current_values[index] <= limit_values[index]);