mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-18 00:07:30 -05:00
Common: Make HookableEvent use non-static data.
Co-authored-by: Dentomologist <dentomologist@gmail.com>
This commit is contained in:
@@ -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