git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12896
d7cf8633-e32d-0410-b094-
e92efae38249
if (COM_CheckParm("-nostdout"))
sys_nostdout = 1;
- // used by everything
- Memory_Init();
-
// initialize console command/cvar/alias/command execution systems
Cmd_Init();
// we don't know which systems we'll want to init, yet...
SDL_Init(0);
+ // used by everything
+ Memory_Init();
+
Host_Main();
Sys_Quit(0);
#ifndef WIN32
fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | O_NONBLOCK);
#endif
+
+ // used by everything
+ Memory_Init();
+
Host_Main();
Sys_Quit(0);
Sys_ProvideSelfFD();
+ // used by everything
+ Memory_Init();
+
Host_Main();
Sys_Quit(0);