mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-09 19:25:10 +01:00
kern: fix SvcGetResourceLimitPeakValue
This commit is contained in:
parent
972b396f61
commit
fd745ab2d3
@ -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…
x
Reference in New Issue
Block a user