summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-13 11:08:59 -0500
committerLioncash <mathew1800@gmail.com>2018-11-13 13:08:26 -0500
commit004277477aed5748fe1f601ddb242584a02b57d0 (patch)
treec1228398a611047869926601d1f3e2194e785867 /src
parentb8e885c6e5de880d68e9b43480ee6f6423375b09 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/vm_manager.cpp3
1 files changed, 1 insertions, 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 {