summaryrefslogtreecommitdiff
path: root/src/i_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_main.c')
-rw-r--r--src/i_main.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/i_main.c b/src/i_main.c
index 7c5b16e7..a0b0bfd5 100644
--- a/src/i_main.c
+++ b/src/i_main.c
@@ -24,7 +24,6 @@
//
//-----------------------------------------------------------------------------
-
#include "config.h"
#include "SDL.h"
@@ -41,10 +40,17 @@
#include <sched.h>
#endif
-#include "doomdef.h"
+#include "doomtype.h"
#include "i_system.h"
#include "m_argv.h"
-#include "d_main.h"
+
+//
+// D_DoomMain()
+// Not a globally visible function, just included for source reference,
+// calls all startup code, parses command line options.
+//
+
+void D_DoomMain (void);
#if defined(_WIN32)
@@ -72,7 +78,6 @@ static void LockCPUAffinity(void)
fprintf(stderr, "Failed to load kernel32.dll\n");
return;
}
-
// Find the SetProcessAffinityMask function.
SetAffinity = GetProcAddress(kernel32_dll, "SetProcessAffinityMask");