summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-10-20 16:40:15 +0200
committerGitHub <noreply@github.com>2023-10-20 16:40:15 +0200
commitbab4a13a41a76ed7e5ecc6318911f17e93203c28 (patch)
tree981a751adf728649a0428f601daad4d278d944d0 /src
parentMerge pull request #11806 from liamwhite/needs-more-locking (diff)
parentkernel: fix incorrect calculation of used non system memory value (diff)
downloadyuzu-bab4a13a41a76ed7e5ecc6318911f17e93203c28.tar
yuzu-bab4a13a41a76ed7e5ecc6318911f17e93203c28.tar.gz
yuzu-bab4a13a41a76ed7e5ecc6318911f17e93203c28.tar.bz2
yuzu-bab4a13a41a76ed7e5ecc6318911f17e93203c28.tar.lz
yuzu-bab4a13a41a76ed7e5ecc6318911f17e93203c28.tar.xz
yuzu-bab4a13a41a76ed7e5ecc6318911f17e93203c28.tar.zst
yuzu-bab4a13a41a76ed7e5ecc6318911f17e93203c28.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp
index 4a099286b..7fa34d693 100644
--- a/src/core/hle/kernel/k_process.cpp
+++ b/src/core/hle/kernel/k_process.cpp
@@ -149,7 +149,7 @@ u64 KProcess::GetTotalPhysicalMemoryUsed() {
}
u64 KProcess::GetTotalPhysicalMemoryUsedWithoutSystemResource() {
- return this->GetTotalPhysicalMemoryUsed() - this->GetSystemResourceUsage();
+ return this->GetTotalPhysicalMemoryUsed() - this->GetSystemResourceSize();
}
bool KProcess::ReleaseUserException(KThread* thread) {