VERY experimental Nintendo Switch 2 emulator
C++
kernel: fix incorrect calculation of used non system memory value
Liamd96b03a1c038
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cppindex 4a099286b5..7fa34d6932 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) {