summaryrefslogtreecommitdiff
path: root/Source/Core/Common/DebugInterface.h
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-01-09 18:41:28 +0100
committerGitHub <noreply@github.com>2023-01-09 18:41:28 +0100
commit653e0ccf280768e8474952767ee4da06b7e9b607 (patch)
tree1a73b75401b7d663306159314d1bdf023736e094 /Source/Core/Common/DebugInterface.h
parent21c29bad6bcb7b3750818e0a3417b96def28c4f0 (diff)
parent993d2ab173f0e262465b4420e5746bb55a2c9ff1 (diff)
Merge pull request #11365 from iwubcode/cheat_manager_freeze_value
DolphinQt: add ability to lock / freeze values in the watches window
Diffstat (limited to 'Source/Core/Common/DebugInterface.h')
-rw-r--r--Source/Core/Common/DebugInterface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/DebugInterface.h b/Source/Core/Common/DebugInterface.h
index a59ac79f69..17c10a1894 100644
--- a/Source/Core/Common/DebugInterface.h
+++ b/Source/Core/Common/DebugInterface.h
@@ -32,6 +32,7 @@ public:
virtual void UpdateWatch(std::size_t index, u32 address, std::string name) = 0;
virtual void UpdateWatchAddress(std::size_t index, u32 address) = 0;
virtual void UpdateWatchName(std::size_t index, std::string name) = 0;
+ virtual void UpdateWatchLockedState(std::size_t index, bool locked) = 0;
virtual void EnableWatch(std::size_t index) = 0;
virtual void DisableWatch(std::size_t index) = 0;
virtual bool HasEnabledWatch(u32 address) const = 0;
@@ -43,6 +44,8 @@ public:
// Memory Patches
virtual void SetPatch(u32 address, u32 value) = 0;
virtual void SetPatch(u32 address, std::vector<u8> value) = 0;
+ virtual void SetFramePatch(u32 address, u32 value) = 0;
+ virtual void SetFramePatch(u32 address, std::vector<u8> value) = 0;
virtual const std::vector<Debug::MemoryPatch>& GetPatches() const = 0;
virtual void UnsetPatch(u32 address) = 0;
virtual void EnablePatch(std::size_t index) = 0;
@@ -50,6 +53,7 @@ public:
virtual bool HasEnabledPatch(u32 address) const = 0;
virtual void RemovePatch(std::size_t index) = 0;
virtual void ClearPatches() = 0;
+ virtual void ApplyExistingPatch(std::size_t index) = 0;
// Threads
virtual Debug::Threads GetThreads() const = 0;