mirror of https://github.com/mgba-emu/mgba.git
Debugger: Fix off-by-one breaking StartNoAckMode
This commit is contained in:
parent
da8f4f28f3
commit
1d4bf372b8
|
@ -548,7 +548,7 @@ static void _processQReadCommand(struct GDBStub* stub, const char* message) {
|
|||
|
||||
static void _processQWriteCommand(struct GDBStub* stub, const char* message) {
|
||||
stub->outgoing[0] = '\0';
|
||||
if (!strncmp("StartNoAckMode#", message, 16)) {
|
||||
if (!strncmp("StartNoAckMode#", message, 15)) {
|
||||
stub->lineAck = GDB_ACK_OFF;
|
||||
strncpy(stub->outgoing, "OK", GDB_STUB_MAX_LINE - 4);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue