From 8f3e8e4ca34bf3c521e20f41f7a54f5e447e0dac Mon Sep 17 00:00:00 2001 From: iwubcode Date: Thu, 22 Dec 2022 23:17:09 -0600 Subject: Core: add locked state to watches --- Source/Core/Common/Debug/Watches.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/Common/Debug/Watches.cpp') diff --git a/Source/Core/Common/Debug/Watches.cpp b/Source/Core/Common/Debug/Watches.cpp index 0088c8f26a..dddb3f3435 100644 --- a/Source/Core/Common/Debug/Watches.cpp +++ b/Source/Core/Common/Debug/Watches.cpp @@ -62,6 +62,11 @@ void Watches::UpdateWatchName(std::size_t index, std::string name) m_watches[index].name = std::move(name); } +void Watches::UpdateWatchLockedState(std::size_t index, bool locked) +{ + m_watches[index].locked = locked; +} + void Watches::EnableWatch(std::size_t index) { m_watches[index].is_enabled = Watch::State::Enabled; -- cgit v1.2.3