Patches: Add savable breakpoints patch type

This commit is contained in:
Eladash 2023-09-25 18:32:50 +03:00 committed by Elad Ashkenazi
parent b2c6958750
commit e79fc867c5
12 changed files with 47 additions and 4 deletions

View file

@ -638,6 +638,14 @@ void gui_application::InitializeCallbacks()
});
};
callbacks.add_breakpoint = [this](u32 addr)
{
Emu.BlockingCallFromMainThread([this, addr]()
{
m_main_window->OnAddBreakpoint(addr);
});
};
Emu.SetCallbacks(std::move(callbacks));
}