summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/MemoryViewWidget.h
diff options
context:
space:
mode:
authorTryTwo <taolas@gmail.com>2024-06-24 14:18:41 -0700
committerTryTwo <taolas@gmail.com>2025-01-19 23:18:38 -0700
commit32e135e6a94de9aba7e08ef0b32fac35f4647ab3 (patch)
tree31124b80643cb9d91d2eead5f4c5aad8865a0312 /Source/Core/DolphinQt/Debugger/MemoryViewWidget.h
parent3edb5acccab983b08a181356c75177a635ad3c0b (diff)
MemoryViewWidget: Add OnFrameEnd callback to auto-update memory while a game is running.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.h')
-rw-r--r--Source/Core/DolphinQt/Debugger/MemoryViewWidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.h b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.h
index 584ce4fd42..a1e2af09ea 100644
--- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.h
+++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.h
@@ -84,6 +84,7 @@ public:
void CreateTable();
void UpdateDispatcher(UpdateType type = UpdateType::Addresses);
void Update();
+ void UpdateOnFrameEnd();
void GetValues();
void UpdateFont(const QFont& font);
void ToggleBreakpoint(u32 addr, bool row);
@@ -99,6 +100,7 @@ public:
void SetBPLoggingEnabled(bool enabled);
signals:
+ void AutoUpdate();
void ShowCode(u32 address);
void RequestWatch(QString name, u32 address);
@@ -131,6 +133,7 @@ private:
int m_alignment = 16;
int m_data_columns;
bool m_dual_view = false;
+ std::mutex m_updating;
QColor m_highlight_color = QColor(120, 255, 255, 100);
friend class MemoryViewTable;