From 7daa2a51d748d283183e2ee9b3c5b7f9d3bce850 Mon Sep 17 00:00:00 2001 From: wwylele Date: Sat, 30 Dec 2017 23:42:08 +0200 Subject: [PATCH] Kernel/SVC: fix typo in GetResourceLimitLimitValues --- src/core/hle/kernel/svc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index cb5dbad5d3..7f219ffde2 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -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); }