From 0cd843151fdf1985889758c9310b3bfd22036100 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 26 Jul 2018 09:45:18 -0400 Subject: 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. --- src/yuzu/debugger/wait_tree.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/yuzu/debugger') 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> WaitTreeTimer::GetChildren() const { const auto& timer = static_cast(object); list.push_back(std::make_unique( - tr("reset type = %1").arg(GetResetTypeQString(timer.reset_type)))); + tr("reset type = %1").arg(GetResetTypeQString(timer.GetResetType())))); list.push_back( - std::make_unique(tr("initial delay = %1").arg(timer.initial_delay))); + std::make_unique(tr("initial delay = %1").arg(timer.GetInitialDelay()))); list.push_back( - std::make_unique(tr("interval delay = %1").arg(timer.interval_delay))); + std::make_unique(tr("interval delay = %1").arg(timer.GetIntervalDelay()))); return list; } -- cgit v1.2.3