mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Added "Add to watch" context menu items to the Memory and Register windows.
Added "View memory" context menu item to the Register window.
This commit is contained in:
@ -30,14 +30,13 @@ class wxWindow;
|
||||
// Interrupt Mask (PI)
|
||||
// Interrupt Cause(PI)
|
||||
|
||||
#define NUM_SPECIALS 14
|
||||
|
||||
class CRegTable : public wxGridTableBase
|
||||
{
|
||||
enum
|
||||
{
|
||||
NUM_SPECIALS = 14,
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
CRegTable()
|
||||
{
|
||||
memset(m_CachedRegs, 0, sizeof(m_CachedRegs));
|
||||
@ -72,4 +71,9 @@ class CRegisterView : public wxGrid
|
||||
public:
|
||||
CRegisterView(wxWindow* parent, wxWindowID id);
|
||||
void Update() override;
|
||||
void OnMouseDownR(wxGridEvent& event);
|
||||
void OnPopupMenu(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
u32 addr = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user