all repos — mgba @ 31d39bbd1d0f12e9e8af43830b0965142b78dfc1

mGBA Game Boy Advance Emulator

Debugger: Fix software breakpoints not being properly initialized
Jeffrey Pfau jeffrey@endrift.com
Sun, 01 Mar 2015 12:16:38 -0800
commit

31d39bbd1d0f12e9e8af43830b0965142b78dfc1

parent

a7985c39acf250794054cee9f2501ff0261be3f6

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/debugger/debugger.csrc/debugger/debugger.c

@@ -53,6 +53,7 @@ struct ARMDebugger* debugger = (struct ARMDebugger*) component;

debugger->cpu = cpu; debugger->state = DEBUGGER_RUNNING; debugger->breakpoints = 0; + debugger->swBreakpoints = 0; debugger->originalMemory = cpu->memory; debugger->watchpoints = 0; debugger->currentBreakpoint = 0;