mirror of https://github.com/mgba-emu/mgba.git
ARM Debugger: Fix clearing software breakpoints
This commit is contained in:
parent
d1e2f2be6b
commit
805ef9efdd
|
@ -152,7 +152,9 @@ void ARMDebuggerClearSoftwareBreakpoint(struct mDebuggerPlatform* d, uint32_t ad
|
||||||
breakpoint = NULL;
|
breakpoint = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
debugger->clearSoftwareBreakpoint(debugger, address, breakpoint->sw.mode, breakpoint->sw.opcode);
|
if (breakpoint) {
|
||||||
|
debugger->clearSoftwareBreakpoint(debugger, address, breakpoint->sw.mode, breakpoint->sw.opcode);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ARMDebuggerSetBreakpoint(struct mDebuggerPlatform* d, uint32_t address) {
|
static void ARMDebuggerSetBreakpoint(struct mDebuggerPlatform* d, uint32_t address) {
|
||||||
|
|
Loading…
Reference in New Issue