summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Debug/Watches.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Debug/Watches.cpp')
-rw-r--r--Source/Core/Common/Debug/Watches.cpp5
1 files changed, 5 insertions, 0 deletions
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;