mirror of https://github.com/mgba-emu/mgba.git
Debugger: Fix software breakpoints not being properly initialized
This commit is contained in:
parent
a7985c39ac
commit
31d39bbd1d
|
@ -53,6 +53,7 @@ void ARMDebuggerInit(struct ARMCore* cpu, struct ARMComponent* component) {
|
||||||
debugger->cpu = cpu;
|
debugger->cpu = cpu;
|
||||||
debugger->state = DEBUGGER_RUNNING;
|
debugger->state = DEBUGGER_RUNNING;
|
||||||
debugger->breakpoints = 0;
|
debugger->breakpoints = 0;
|
||||||
|
debugger->swBreakpoints = 0;
|
||||||
debugger->originalMemory = cpu->memory;
|
debugger->originalMemory = cpu->memory;
|
||||||
debugger->watchpoints = 0;
|
debugger->watchpoints = 0;
|
||||||
debugger->currentBreakpoint = 0;
|
debugger->currentBreakpoint = 0;
|
||||||
|
|
Loading…
Reference in New Issue