- moced I_DetectOS call into D_DoomMain

This requires the console and was the reason for this strange setup.
This commit is contained in:
Christoph Oelckers 2019-10-01 01:02:49 +02:00
commit ff40bcd178
4 changed files with 7 additions and 3 deletions

View file

@ -2286,6 +2286,7 @@ void D_DoomMain (void)
const char *batchout = Args->CheckValue("-errorlog");
C_InitConsole(80*8, 25*8, false);
I_DetectOS();
// +logfile gets checked too late to catch the full startup log in the logfile so do some extra check for it here.
FString logfile = Args->TakeValue("+logfile");