Fix GTA installer.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3503
This commit is contained in:
parent
a165f2ae83
commit
7f19fe7e3f
1 changed files with 2 additions and 0 deletions
|
@ -283,6 +283,8 @@ void DOS_Shell::Run(void) {
|
|||
std::string line;
|
||||
if (cmd->FindStringRemain("/C",line)) {
|
||||
strcpy(input_line,line.c_str());
|
||||
char* sep = strpbrk(input_line,"\r\n"); //GTA installer
|
||||
if (sep) *sep = 0;
|
||||
DOS_Shell temp;
|
||||
temp.echo = echo;
|
||||
temp.ParseLine(input_line); //for *.exe *.com |*.bat creates the bf needed by runinternal;
|
||||
|
|
Loading…
Add table
Reference in a new issue