mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-17 04:17:15 +01:00
Kernel/SVC: fix typo in GetResourceLimitLimitValues
This commit is contained in:
parent
c3c684cd2b
commit
7daa2a51d7
@ -715,7 +715,7 @@ static ResultCode GetResourceLimitLimitValues(VAddr values, Handle resource_limi
|
|||||||
|
|
||||||
for (unsigned int i = 0; i < name_count; ++i) {
|
for (unsigned int i = 0; i < name_count; ++i) {
|
||||||
u32 name = Memory::Read32(names + i * sizeof(u32));
|
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);
|
Memory::Write64(values + i * sizeof(u64), value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user