summaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/wait_tree.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-26 09:45:18 -0400
committerLioncash <mathew1800@gmail.com>2018-07-26 09:51:44 -0400
commit0cd843151fdf1985889758c9310b3bfd22036100 (patch)
tree07ba1d07f5e0255e504a57d8c1b21ba5ff871927 /src/yuzu/debugger/wait_tree.cpp
parent1958d07d7d881d631f0aa298f529d95aded736a9 (diff)
kernel/timer: Make data members private where applicable
Instead, we can just expose functions that return the queryable state instead of letting anything modify it.
Diffstat (limited to 'src/yuzu/debugger/wait_tree.cpp')
-rw-r--r--src/yuzu/debugger/wait_tree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp
index 2b45b8573..f5a5697a0 100644
--- a/src/yuzu/debugger/wait_tree.cpp
+++ b/src/yuzu/debugger/wait_tree.cpp
@@ -328,11 +328,11 @@ std::vector<std::unique_ptr<WaitTreeItem>> WaitTreeTimer::GetChildren() const {
const auto& timer = static_cast<const Kernel::Timer&>(object);
list.push_back(std::make_unique<WaitTreeText>(
- tr("reset type = %1").arg(GetResetTypeQString(timer.reset_type))));
+ tr("reset type = %1").arg(GetResetTypeQString(timer.GetResetType()))));
list.push_back(
- std::make_unique<WaitTreeText>(tr("initial delay = %1").arg(timer.initial_delay)));
+ std::make_unique<WaitTreeText>(tr("initial delay = %1").arg(timer.GetInitialDelay())));
list.push_back(
- std::make_unique<WaitTreeText>(tr("interval delay = %1").arg(timer.interval_delay)));
+ std::make_unique<WaitTreeText>(tr("interval delay = %1").arg(timer.GetIntervalDelay())));
return list;
}