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:
hendricks266 2014-12-02 06:16:15 +00:00
parent 80ed260c1a
commit 2f116d81a6

View file

@ -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 == '-')