summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-18 13:27:48 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-18 13:27:48 +0200
commit1a5eceeb9cb19a3fd9c4d2e5a30412085ba876d4 (patch)
tree40af1d06f5a968fb857aaaa23c1dcbcc2087b678 /src
parentMerge pull request #6418 from clementgallet/sdl-audio-backend (diff)
downloadyuzu-1a5eceeb9cb19a3fd9c4d2e5a30412085ba876d4.tar
yuzu-1a5eceeb9cb19a3fd9c4d2e5a30412085ba876d4.tar.gz
yuzu-1a5eceeb9cb19a3fd9c4d2e5a30412085ba876d4.tar.bz2
yuzu-1a5eceeb9cb19a3fd9c4d2e5a30412085ba876d4.tar.lz
yuzu-1a5eceeb9cb19a3fd9c4d2e5a30412085ba876d4.tar.xz
yuzu-1a5eceeb9cb19a3fd9c4d2e5a30412085ba876d4.tar.zst
yuzu-1a5eceeb9cb19a3fd9c4d2e5a30412085ba876d4.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_resource_limit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cpp
index da88f35bc..0c4bba66b 100644
--- a/src/core/hle/kernel/k_resource_limit.cpp
+++ b/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;
}