Browse Source
Merge pull request #11825 from liamwhite/system-resource
kernel: fix incorrect calculation of used non system memory value
pull/15/merge
Fernando S
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) { |
|
|
|
|