]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_unix.c
sys: Initialize the memory subsystem in main()
[xonotic/darkplaces.git] / sys_unix.c
index 70e4bd560078da876e16a345aac72a3b54c87be9..7fdd1df970917562f9aefa0b08cc39b875626d30 100644 (file)
@@ -164,6 +164,10 @@ int main (int argc, char **argv)
 #ifndef WIN32
        fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | O_NONBLOCK);
 #endif
+
+       // used by everything
+       Memory_Init();
+
        Host_Main();
 
        Sys_Quit(0);