- moved the initial C_InitConsole call into D_DoomMain

The only difference here were the size values on Windows but for this initial call they have been useless for a long time. When this code was written the console buffer still had a fixed width that needed to be set before adding any text.
This commit is contained in:
Christoph Oelckers 2019-10-01 01:00:37 +02:00
commit a1a73ef2b3
4 changed files with 3 additions and 6 deletions

View file

@ -2284,6 +2284,8 @@ void D_DoomMain (void)
int argcount;
FIWadManager *iwad_man;
const char *batchout = Args->CheckValue("-errorlog");
C_InitConsole(80*8, 25*8, false);
// +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");