diff options
| author | TryTwo <taolas@gmail.com> | 2025-07-09 23:00:00 -0700 |
|---|---|---|
| committer | TryTwo <taolas@gmail.com> | 2025-07-15 12:23:47 -0700 |
| commit | d53e766d6595d8cdd74f1f8316c82f7fa9e7bb3e (patch) | |
| tree | a19e3c8334d839bb065eec31801e4bc2592fa54c /Source/Core/DolphinQt/Debugger/CodeViewWidget.h | |
| parent | 43aa7e9b9658d3c1508512b6b0caef7737ed6683 (diff) | |
CodeWidget: Add button that prevents automatic updates to the address, such as navigating to the PC on pause.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.h')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeViewWidget.h | 2 |
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; |
