Common: Make HookableEvent use non-static data.
Co-authored-by: Dentomologist <[email protected]>
This commit is contained in:
1 parent
9c28f19e56
commit
f289b06e0d
30 files changed
+263
-175
No files matched your search
@@ -429,7 +429,8 @@ void MemoryWidget::hideEvent(QHideEvent* event)
|
||||
|
||||
void MemoryWidget::RegisterAfterFrameEventCallback()
|
||||
{
|
||||
m_vi_end_field_event = VIEndFieldEvent::Register([this] { AutoUpdateTable(); }, "MemoryWidget");
|
||||
m_vi_end_field_event = m_system.GetVideoEvents().vi_end_field_event.Register(
|
||||
[this] { AutoUpdateTable(); }, "MemoryWidget");
|
||||
}
|
||||
|
||||
void MemoryWidget::RemoveAfterFrameEventCallback()
|
||||
|
||||
Reference in new issue
Block a user