mirror of https://github.com/mgba-emu/mgba.git
Initialize debugger->lastCommand
This commit is contained in:
parent
cd75d3b399
commit
82a4fa094b
|
@ -521,6 +521,7 @@ static void _commandLine(struct ARMDebugger* debugger) {
|
|||
void ARMDebuggerInit(struct ARMDebugger* debugger, struct ARMCore* cpu) {
|
||||
debugger->cpu = cpu;
|
||||
debugger->state = DEBUGGER_PAUSED;
|
||||
debugger->lastCommand = 0;
|
||||
}
|
||||
|
||||
void ARMDebuggerRun(struct ARMDebugger* debugger) {
|
||||
|
|
Loading…
Reference in New Issue