mirror of https://github.com/mgba-emu/mgba.git
Fix argument number errors
This commit is contained in:
parent
86003496b0
commit
732e29e3c6
|
@ -518,11 +518,10 @@ static bool _parse(struct CLIDebugger* debugger, const char* line, size_t count)
|
||||||
_DVFree(dv);
|
_DVFree(dv);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
printf("Wrong number of arguments");
|
|
||||||
}
|
}
|
||||||
} else if (firstSpace) {
|
} else if (firstSpace) {
|
||||||
printf("Wrong number of arguments");
|
printf("Wrong number of arguments\n");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
_debuggerCommands[i].command(debugger, dv);
|
_debuggerCommands[i].command(debugger, dv);
|
||||||
_DVFree(dv);
|
_DVFree(dv);
|
||||||
|
|
Loading…
Reference in New Issue