mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 04:41:12 +00:00
kern: fix SvcGetResourceLimitPeakValue
This commit is contained in:
parent
24db70602f
commit
8e1a46b951
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ namespace ams::kern::svc {
|
||||||
R_UNLESS(resource_limit.IsNotNull(), svc::ResultInvalidHandle());
|
R_UNLESS(resource_limit.IsNotNull(), svc::ResultInvalidHandle());
|
||||||
|
|
||||||
/* Get the peak value. */
|
/* Get the peak value. */
|
||||||
*out_peak_value = resource_limit->GetCurrentValue(which);
|
*out_peak_value = resource_limit->GetPeakValue(which);
|
||||||
|
|
||||||
return ResultSuccess();
|
return ResultSuccess();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue