mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-20 01:15:08 -05:00
Common: Make HookableEvent use non-static data.
Co-authored-by: Dentomologist <dentomologist@gmail.com>
This commit is contained in:
@@ -29,8 +29,8 @@ static bool DumpFrameToPNG(const FrameData& frame, const std::string& file_name)
|
||||
|
||||
FrameDumper::FrameDumper()
|
||||
{
|
||||
m_frame_end_handle =
|
||||
AfterFrameEvent::Register([this](Core::System&) { FlushFrameDump(); }, "FrameDumper");
|
||||
m_frame_end_handle = GetVideoEvents().after_frame_event.Register(
|
||||
[this](Core::System&) { FlushFrameDump(); }, "FrameDumper");
|
||||
}
|
||||
|
||||
FrameDumper::~FrameDumper()
|
||||
|
||||
Reference in New Issue
Block a user