diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2022-12-22 23:17:09 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2022-12-23 11:59:23 -0600 |
| commit | 8f3e8e4ca34bf3c521e20f41f7a54f5e447e0dac (patch) | |
| tree | 33c99582f437d9f2a94611c4fd839212cb174501 /Source/Core/Common/Debug/Watches.cpp | |
| parent | 41c9d706cbc309638a8ab5a09544cb9ca703d827 (diff) | |
Core: add locked state to watches
Diffstat (limited to 'Source/Core/Common/Debug/Watches.cpp')
| -rw-r--r-- | Source/Core/Common/Debug/Watches.cpp | 5 |
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; |
