summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeViewWidget.h
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-07-16 14:32:21 -0400
committerGitHub <noreply@github.com>2025-07-16 14:32:21 -0400
commitc2bace5967384140a67c1b1529f9b3fb3dddf83f (patch)
treefb2fa880d6efd59949f1f129078d13a7d94d6a6e /Source/Core/DolphinQt/Debugger/CodeViewWidget.h
parent5674afa63d86308caa5a1a0cbebac7dd3ab031e9 (diff)
parentd53e766d6595d8cdd74f1f8316c82f7fa9e7bb3e (diff)
Merge pull request #13798 from TryTwo/PR_CodeWidget_NoUpdate
CodeWidget: Add button that locks the view's address
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.h')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeViewWidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.h b/Source/Core/DolphinQt/Debugger/CodeViewWidget.h
index 6760c082eb..d1eeef49ef 100644
--- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.h
+++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.h
@@ -41,6 +41,7 @@ public:
~CodeViewWidget() override;
u32 GetAddress() const;
+ void OnLockAddress(bool lock);
u32 GetContextAddress() const;
void SetAddress(u32 address, SetAddressUpdate update);
@@ -111,6 +112,7 @@ private:
bool m_updating = false;
u32 m_address = 0;
+ bool m_lock_address = false;
u32 m_context_address = 0;
std::vector<CodeViewBranch> m_branches;