mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-29 14:32:58 +02:00
kern: fix missing peak set in KResourceLimit::SetLimitValue
This commit is contained in:
parent
5785447252
commit
af4eb57268
@ -108,6 +108,7 @@ namespace ams::kern {
|
||||
R_UNLESS(m_current_values[which] <= value, svc::ResultInvalidState());
|
||||
|
||||
m_limit_values[which] = value;
|
||||
m_peak_values[which] = m_current_values[which];
|
||||
|
||||
return ResultSuccess();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user