mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-18 22:31:29 -06:00
debugger: fix crash when adding breakpoint
Checking the item in the event handler that is triggered when an option is checked caused recursion stack overflow fixes: #1876
This commit is contained in:
parent
125765c913
commit
553990a25e
@ -155,7 +155,6 @@ void BreakpointWindow::OnBreakpointToggled(wxListEvent& event)
|
||||
DebuggerBreakpoint* bp = (DebuggerBreakpoint*)m_breakpoints->GetItemData(index);
|
||||
const uint32 address = std::stoul(line.ToStdString(), nullptr, 16);
|
||||
debugger_toggleBreakpoint(address, state, bp);
|
||||
m_breakpoints->CheckItem(index, state);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user