Skip to content

Commit

Permalink
kernel explorer: Add information about memory containers
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Mar 22, 2020
1 parent 3637a22 commit fbbbab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpcs3/rpcs3qt/kernel_explorer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ void kernel_explorer::Update()

lv2_types.emplace_back(l_addTreeChild(root, "Memory Containers"));

idm::select<lv2_memory_container>([&](u32 id, lv2_memory_container&)
idm::select<lv2_memory_container>([&](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"));
Expand Down

0 comments on commit fbbbab0

Please sign in to comment.