mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
CodeWidget: Add button that prevents automatic updates to the address, such as navigating to the PC on pause.
This commit is contained in:
parent
43aa7e9b96
commit
d53e766d65
4 changed files with 25 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue