]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
Remove alsa 0.6 (for some random date of cvs alsa) support, never officially released...
[xonotic/darkplaces.git] / sys_linux.c
index 8095fa9bb4bafa1af5d198db2ea64daae15456fd..da6ae1d7f5748b2d8de8d78e86f11ec50b5e45a0 100644 (file)
@@ -17,6 +17,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <errno.h>
+#include <time.h>
 
 #include "quakedef.h"
 
@@ -411,7 +412,7 @@ int main (int c, char **v)
        host_parms.argc = com_argc;
        host_parms.argv = com_argv;
 
-       host_parms.memsize = 24*1024*1024;
+       host_parms.memsize = DEFAULTMEM * 1024*1024;
 
        j = COM_CheckParm("-mem");
        if (j)
@@ -438,7 +439,7 @@ int main (int c, char **v)
        else
        {
                fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
-               printf ("Linux DarkPlaces -- Version %0.3f\n", VERSION);
+               printf ("Linux DarkPlaces -- Version %0.3f (build %i)\n", VERSION, buildnumber);
        }
 
        oldtime = Sys_FloatTime () - 0.1;