mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +00:00
kern: fix missing peak set in KResourceLimit::SetLimitValue
This commit is contained in:
parent
e423aef033
commit
25305257d6
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ namespace ams::kern {
|
||||||
R_UNLESS(m_current_values[which] <= value, svc::ResultInvalidState());
|
R_UNLESS(m_current_values[which] <= value, svc::ResultInvalidState());
|
||||||
|
|
||||||
m_limit_values[which] = value;
|
m_limit_values[which] = value;
|
||||||
|
m_peak_values[which] = m_current_values[which];
|
||||||
|
|
||||||
return ResultSuccess();
|
return ResultSuccess();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue