From 004277477aed5748fe1f601ddb242584a02b57d0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 13 Nov 2018 11:08:59 -0500 Subject: vm_manager: Unstub GetTotalHeapUsage() Now that we've moved all of the heap-related stuff to the VMManager class, we can unstub this function, as the necessary members are visible now. --- src/core/hle/kernel/vm_manager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp index 861b67f57..ec7fd6150 100644 --- a/src/core/hle/kernel/vm_manager.cpp +++ b/src/core/hle/kernel/vm_manager.cpp @@ -574,8 +574,7 @@ u64 VMManager::GetTotalMemoryUsage() const { } u64 VMManager::GetTotalHeapUsage() const { - LOG_WARNING(Kernel, "(STUBBED) called"); - return 0x0; + return heap_used; } VAddr VMManager::GetAddressSpaceBaseAddress() const { -- cgit v1.2.3