Browse Source

kernel: Fix missing peak set in KResourceLimit::SetLimitValue

nce_cpp
Morph 5 years ago
parent
commit
3543d65449
  1. 1
      src/core/hle/kernel/k_resource_limit.cpp

1
src/core/hle/kernel/k_resource_limit.cpp

@ -79,6 +79,7 @@ ResultCode KResourceLimit::SetLimitValue(LimitableResource which, s64 value) {
R_UNLESS(current_values[index] <= value, ResultInvalidState);
limit_values[index] = value;
peak_values[index] = current_values[index];
return ResultSuccess;
}

Loading…
Cancel
Save