VERY experimental Nintendo Switch 2 emulator
C++
clang-format fixes
Michael Scire1a0bbd14e7db
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cppindex b0690be349..db3ab14cef 100644--- a/src/core/hle/kernel/process.cpp+++ b/src/core/hle/kernel/process.cpp@@ -134,7 +134,8 @@ u64 Process::GetTotalPhysicalMemoryAvailableWithoutSystemResource() const {}u64 Process::GetTotalPhysicalMemoryUsed() const {- return vm_manager.GetCurrentHeapSize() + main_thread_stack_size + code_memory_size + GetSystemResourceUsage();+ return vm_manager.GetCurrentHeapSize() + main_thread_stack_size + code_memory_size ++ GetSystemResourceUsage();}u64 Process::GetTotalPhysicalMemoryUsedWithoutSystemResource() const {diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cppindex 85e4512f09..f9fe7dce02 100644--- a/src/core/hle/kernel/svc.cpp+++ b/src/core/hle/kernel/svc.cpp@@ -827,8 +827,7 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, u64 hareturn RESULT_SUCCESS;case GetInfoType::SystemResourceUsage:- LOG_WARNING(Kernel_SVC,- "(STUBBED) Attempted to query system resource usage");+ LOG_WARNING(Kernel_SVC, "(STUBBED) Attempted to query system resource usage");*result = process->GetSystemResourceUsage();return RESULT_SUCCESS;