diff options
| author | 2016-12-08 10:34:53 -0500 | |
|---|---|---|
| committer | 2016-12-09 12:23:09 -0500 | |
| commit | 17b29d8865ea4d96c18f7e1671bd6d0f01eab95f (patch) | |
| tree | 20137ff3eed145ae36db64ccf4b54cf37384c82c /src/citra_qt/debugger/wait_tree.cpp | |
| parent | Use boost remove_erase_if instead of the erase-remove idiom (diff) | |
| download | yuzu-17b29d8865ea4d96c18f7e1671bd6d0f01eab95f.tar.gz yuzu-17b29d8865ea4d96c18f7e1671bd6d0f01eab95f.tar.xz yuzu-17b29d8865ea4d96c18f7e1671bd6d0f01eab95f.zip | |
WaitSynch: Removed unused variables and reduced SharedPtr copies.
Define a variable with the value of the sync timeout error code.
Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call.
Diffstat (limited to 'src/citra_qt/debugger/wait_tree.cpp')
| -rw-r--r-- | src/citra_qt/debugger/wait_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/wait_tree.cpp b/src/citra_qt/debugger/wait_tree.cpp index 829ac7dd6..8ff094209 100644 --- a/src/citra_qt/debugger/wait_tree.cpp +++ b/src/citra_qt/debugger/wait_tree.cpp | |||
| @@ -230,7 +230,7 @@ std::vector<std::unique_ptr<WaitTreeItem>> WaitTreeThread::GetChildren() const { | |||
| 230 | list.push_back(std::make_unique<WaitTreeMutexList>(thread.held_mutexes)); | 230 | list.push_back(std::make_unique<WaitTreeMutexList>(thread.held_mutexes)); |
| 231 | } | 231 | } |
| 232 | if (thread.status == THREADSTATUS_WAIT_SYNCH) { | 232 | if (thread.status == THREADSTATUS_WAIT_SYNCH) { |
| 233 | list.push_back(std::make_unique<WaitTreeObjectList>(thread.wait_objects, thread.IsWaitingAll())); | 233 | list.push_back(std::make_unique<WaitTreeObjectList>(thread.wait_objects, thread.IsSleepingOnWaitAll())); |
| 234 | } | 234 | } |
| 235 | 235 | ||
| 236 | return list; | 236 | return list; |