diff options
author | bunnei <bunneidev@gmail.com> | 2018-02-18 21:17:16 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-02-18 21:17:16 +0100 |
commit | ac81c02ed9401b137e83bece2edd6dee8d0a0af2 (patch) | |
tree | f849c805fdb9ac756ece2e2f72d6009c58676bd6 /src/yuzu/debugger/wait_tree.cpp | |
parent | kernel: Add Scheduler, which encapsulates the scheduling loading from Thread module. (diff) | |
download | yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.tar yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.tar.gz yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.tar.bz2 yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.tar.lz yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.tar.xz yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.tar.zst yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/debugger/wait_tree.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp index e4a6d16ae..7a62f57b5 100644 --- a/src/yuzu/debugger/wait_tree.cpp +++ b/src/yuzu/debugger/wait_tree.cpp @@ -5,6 +5,7 @@ #include "yuzu/debugger/wait_tree.h" #include "yuzu/util/util.h" +#include "core/core.h" #include "core/hle/kernel/condition_variable.h" #include "core/hle/kernel/event.h" #include "core/hle/kernel/mutex.h" @@ -50,7 +51,7 @@ std::size_t WaitTreeItem::Row() const { } std::vector<std::unique_ptr<WaitTreeThread>> WaitTreeItem::MakeThreadItemList() { - const auto& threads = Kernel::GetThreadList(); + const auto& threads = Core::System::GetInstance().Scheduler().GetThreadList(); std::vector<std::unique_ptr<WaitTreeThread>> item_list; item_list.reserve(threads.size()); for (std::size_t i = 0; i < threads.size(); ++i) { |