mirror of https://github.com/mgba-emu/mgba.git
Add invalid commands to the CLI debugger history instead of discarding them
This commit is contained in:
parent
e6148ddb13
commit
9a87840e7e
|
@ -483,9 +483,8 @@ static void _commandLine(struct ARMDebugger* debugger) {
|
|||
_parse(cliDebugger, ev.str, strlen(ev.str) - 1);
|
||||
}
|
||||
} else {
|
||||
if (_parse(cliDebugger, line, count - 1)) {
|
||||
history(cliDebugger->histate, &ev, H_ENTER, line);
|
||||
}
|
||||
_parse(cliDebugger, line, count - 1);
|
||||
history(cliDebugger->histate, &ev, H_ENTER, line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue