diff options
| author | german77 <juangerman-13@hotmail.com> | 2022-06-25 22:44:19 -0500 |
|---|---|---|
| committer | german77 <juangerman-13@hotmail.com> | 2022-06-26 20:21:37 -0500 |
| commit | a7d9be13840acd65d0d684666390758ede72c826 (patch) | |
| tree | 37485f63b09576444173d6a765abe0bb95dd45db /src/core/hle/kernel/k_resource_limit.cpp | |
| parent | abfd690601eaa567b60c5eb844a688fe85e7dcea (diff) | |
core: Replace all instances of ResultCode with Result
Diffstat (limited to 'src/core/hle/kernel/k_resource_limit.cpp')
| -rw-r--r-- | src/core/hle/kernel/k_resource_limit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cpp index 3e0ecffdb..010dcf99e 100644 --- a/src/core/hle/kernel/k_resource_limit.cpp +++ b/src/core/hle/kernel/k_resource_limit.cpp @@ -73,7 +73,7 @@ s64 KResourceLimit::GetFreeValue(LimitableResource which) const { return value; } -ResultCode KResourceLimit::SetLimitValue(LimitableResource which, s64 value) { +Result KResourceLimit::SetLimitValue(LimitableResource which, s64 value) { const auto index = static_cast<std::size_t>(which); KScopedLightLock lk(lock); R_UNLESS(current_values[index] <= value, ResultInvalidState); |
