Debugger: Prevent margin clicks from removing range breakpoints that aren't shown in the margin

This commit is contained in:
Sour 2025-02-11 20:51:30 +09:00
parent 17e23462b1
commit 556b99d267

View file

@ -175,7 +175,7 @@ namespace Mesen.Debugger
return;
}
Breakpoint? breakpoint = BreakpointManager.GetMatchingForbidBreakpoint(info, cpuType) ?? BreakpointManager.GetMatchingBreakpoint(info, cpuType);
Breakpoint? breakpoint = BreakpointManager.GetMatchingForbidBreakpoint(info, cpuType) ?? BreakpointManager.GetMatchingBreakpoint(info, cpuType, true);
if(breakpoint != null) {
BreakpointManager.RemoveBreakpoint(breakpoint);
} else {