Kernel/SVC: fix typo in GetResourceLimitLimitValues

This commit is contained in:
wwylele 2017-12-30 23:42:08 +02:00
parent c3c684cd2b
commit 7daa2a51d7
No known key found for this signature in database
GPG Key ID: 0E87F3187357C16C
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ static ResultCode GetResourceLimitLimitValues(VAddr values, Handle resource_limi
for (unsigned int i = 0; i < name_count; ++i) {
u32 name = Memory::Read32(names + i * sizeof(u32));
s64 value = resource_limit->GetMaxResourceValue(names);
s64 value = resource_limit->GetMaxResourceValue(name);
Memory::Write64(values + i * sizeof(u64), value);
}