diff options
author | Subv <subv2112@gmail.com> | 2018-01-08 20:14:30 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-09 03:12:54 +0100 |
commit | db3a5251664ae77f5e67dba571a11d208e448a86 (patch) | |
tree | f53b53b9620ca36a5b8085e3e9d2b603477142fc /src/citra_qt/debugger/wait_tree.cpp | |
parent | Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking. (diff) | |
download | yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.gz yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.bz2 yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.lz yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.xz yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.zst yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.zip |
Diffstat (limited to 'src/citra_qt/debugger/wait_tree.cpp')
-rw-r--r-- | src/citra_qt/debugger/wait_tree.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/wait_tree.cpp b/src/citra_qt/debugger/wait_tree.cpp index ebcc02894..6d15e43aa 100644 --- a/src/citra_qt/debugger/wait_tree.cpp +++ b/src/citra_qt/debugger/wait_tree.cpp @@ -273,9 +273,8 @@ std::vector<std::unique_ptr<WaitTreeItem>> WaitTreeSemaphore::GetChildren() cons std::vector<std::unique_ptr<WaitTreeItem>> list(WaitTreeWaitObject::GetChildren()); const auto& semaphore = static_cast<const Kernel::Semaphore&>(object); - list.push_back( - std::make_unique<WaitTreeText>(tr("available count = %1").arg(semaphore.available_count))); - list.push_back(std::make_unique<WaitTreeText>(tr("max count = %1").arg(semaphore.max_count))); + list.push_back(std::make_unique<WaitTreeText>( + tr("available count = %1").arg(semaphore.GetAvailableCount()))); return list; } |