mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Add dummy command line parameters to allow us to serve as a drop-in replacement for the NAM Steam release's dosbox.exe
git-svn-id: https://svn.eduke32.com/eduke32@4791 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
80ed260c1a
commit
2f116d81a6
1 changed files with 13 additions and 0 deletions
|
@ -10112,6 +10112,19 @@ static void G_CheckCommandLine(int32_t argc, const char **argv)
|
|||
continue;
|
||||
}
|
||||
#endif
|
||||
// the following two dummy entries allow us to serve as a drop-in replacement for NAM on Steam
|
||||
if (!Bstrcasecmp(c+1,"noconsole"))
|
||||
{
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
if (!Bstrcasecmp(c+1,"conf"))
|
||||
{
|
||||
if (argc > i+1)
|
||||
i++;
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if ((*c == '-')
|
||||
|
|
Loading…
Reference in a new issue