CodeWidget: Add button that prevents automatic updates to the address, such as navigating to the PC on pause.

This commit is contained in:
TryTwo 2025-07-09 23:00:00 -07:00
parent 43aa7e9b96
commit d53e766d65
4 changed files with 25 additions and 3 deletions

View file

@ -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;