Explorar o código

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.
Lioncash %!s(int64=7) %!d(string=hai) anos
pai
achega
004277477a
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/core/hle/kernel/vm_manager.cpp

+ 1 - 2
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 {