summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-20 15:12:10 +0200
committerLiam <byteslice@airmail.cc>2023-10-20 15:12:10 +0200
commit249db0a59bb4aadb031f270ed79044f91defb98d (patch)
tree649193c3b800d9cc9d431cc76a9b6543b3bc6759 /src/core
parentMerge pull request #11822 from german77/no-name (diff)
downloadyuzu-249db0a59bb4aadb031f270ed79044f91defb98d.tar
yuzu-249db0a59bb4aadb031f270ed79044f91defb98d.tar.gz
yuzu-249db0a59bb4aadb031f270ed79044f91defb98d.tar.bz2
yuzu-249db0a59bb4aadb031f270ed79044f91defb98d.tar.lz
yuzu-249db0a59bb4aadb031f270ed79044f91defb98d.tar.xz
yuzu-249db0a59bb4aadb031f270ed79044f91defb98d.tar.zst
yuzu-249db0a59bb4aadb031f270ed79044f91defb98d.zip
Diffstat (limited to 'src/core')
-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) {