diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-05 21:52:19 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-05 21:52:21 -0500 |
commit | 196cc8291342770a0af7671668460f5d33cff3c0 (patch) | |
tree | 08a93afcbb8e67f1d0cbd1c83cd36ded534d3273 /src/yuzu/debugger/wait_tree.h | |
parent | cc92c054ec825c7b40518fdc90a0c9a307567303 (diff) |
yuzu/debugger/wait_tree: Remove use of global CurrentProcess accessor
We already have the thread instance that was created under the current
process, so we can just pass the handle table of it along to retrieve
the owner of the mutex.
Diffstat (limited to 'src/yuzu/debugger/wait_tree.h')
-rw-r--r-- | src/yuzu/debugger/wait_tree.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/debugger/wait_tree.h b/src/yuzu/debugger/wait_tree.h index 365c3dbfe..62886609d 100644 --- a/src/yuzu/debugger/wait_tree.h +++ b/src/yuzu/debugger/wait_tree.h @@ -17,6 +17,7 @@ class EmuThread; namespace Kernel { +class HandleTable; class ReadableEvent; class WaitObject; class Thread; @@ -72,7 +73,7 @@ public: class WaitTreeMutexInfo : public WaitTreeExpandableItem { Q_OBJECT public: - explicit WaitTreeMutexInfo(VAddr mutex_address); + explicit WaitTreeMutexInfo(VAddr mutex_address, const Kernel::HandleTable& handle_table); ~WaitTreeMutexInfo() override; QString GetText() const override; |