diff options
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 | |||
| 273 | std::vector<std::unique_ptr<WaitTreeItem>> list(WaitTreeWaitObject::GetChildren()); | 273 | std::vector<std::unique_ptr<WaitTreeItem>> list(WaitTreeWaitObject::GetChildren()); |
| 274 | 274 | ||
| 275 | const auto& semaphore = static_cast<const Kernel::Semaphore&>(object); | 275 | const auto& semaphore = static_cast<const Kernel::Semaphore&>(object); |
| 276 | list.push_back( | 276 | list.push_back(std::make_unique<WaitTreeText>( |
| 277 | std::make_unique<WaitTreeText>(tr("available count = %1").arg(semaphore.available_count))); | 277 | tr("available count = %1").arg(semaphore.GetAvailableCount()))); |
| 278 | list.push_back(std::make_unique<WaitTreeText>(tr("max count = %1").arg(semaphore.max_count))); | ||
| 279 | return list; | 278 | return list; |
| 280 | } | 279 | } |
| 281 | 280 | ||