summaryrefslogtreecommitdiff
path: root/src/yuzu
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-06 12:52:21 -0400
committerLioncash <mathew1800@gmail.com>2018-08-06 12:53:02 -0400
commit2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05 (patch)
treebeeab9f5d442901b32e6cfedc6fb46db7b08b8ff /src/yuzu
parent1ac45342ddf8a12052d88d669240e5522aaf6395 (diff)
kernel/event: Make data members private
Instead we can simply provide accessors to the required data instead of giving external read/write access to the variables directly.
Diffstat (limited to 'src/yuzu')
-rw-r--r--src/yuzu/debugger/wait_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp
index f5a5697a0..2acfdb8a9 100644
--- a/src/yuzu/debugger/wait_tree.cpp
+++ b/src/yuzu/debugger/wait_tree.cpp
@@ -316,7 +316,7 @@ std::vector<std::unique_ptr<WaitTreeItem>> WaitTreeEvent::GetChildren() const {
list.push_back(std::make_unique<WaitTreeText>(
tr("reset type = %1")
- .arg(GetResetTypeQString(static_cast<const Kernel::Event&>(object).reset_type))));
+ .arg(GetResetTypeQString(static_cast<const Kernel::Event&>(object).GetResetType()))));
return list;
}