From 132c3e1c1ad8ec067f714d0cda956cb2fdebf721 Mon Sep 17 00:00:00 2001 From: Eladash Date: Sun, 22 Mar 2020 10:44:39 +0200 Subject: [PATCH] kernel explorer: Add information about memory containers --- rpcs3/rpcs3qt/kernel_explorer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/rpcs3qt/kernel_explorer.cpp b/rpcs3/rpcs3qt/kernel_explorer.cpp index 08403062c2..e9428a64b0 100644 --- a/rpcs3/rpcs3qt/kernel_explorer.cpp +++ b/rpcs3/rpcs3qt/kernel_explorer.cpp @@ -271,10 +271,10 @@ void kernel_explorer::Update() lv2_types.emplace_back(l_addTreeChild(root, "Memory Containers")); - idm::select([&](u32 id, lv2_memory_container&) + idm::select([&](u32 id, lv2_memory_container& container) { lv2_types.back().count++; - l_addTreeChild(lv2_types.back().node, qstr(fmt::format("Memory Container: ID = 0x%08x", id))); + l_addTreeChild(lv2_types.back().node, qstr(fmt::format("Memory Container: ID = 0x%08x, total size = 0x%x, used = 0x%x", id, container.size, +container.used))); }); lv2_types.emplace_back(l_addTreeChild(root, "PPU Threads"));