mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
diff snr--
This commit is contained in:
parent
2f8efd7360
commit
5b8aca001b
2 changed files with 15 additions and 17 deletions
|
@ -53,17 +53,16 @@ static const char rcsid[] =
|
|||
#include <stdlib.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
# include <sys/types.h>
|
||||
# include <sys/mman.h>
|
||||
# include <ctype.h>
|
||||
# include <signal.h>
|
||||
# include <stdarg.h>
|
||||
# include <sys/mman.h>
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include <SDL.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include "QF/qargs.h"
|
||||
#include "QF/qargs.h"
|
||||
#include "QF/sys.h"
|
||||
|
||||
|
@ -179,7 +178,7 @@ SDL_main (int c, char **v)
|
|||
host_parms.argc = com_argc;
|
||||
host_parms.argv = com_argv;
|
||||
|
||||
host_parms.memsize = 16 * 1024 * 1024;
|
||||
host_parms.memsize = 16 * 1024 * 1024; // 16MB default heap
|
||||
|
||||
j = COM_CheckParm ("-mem");
|
||||
if (j)
|
||||
|
@ -190,6 +189,7 @@ SDL_main (int c, char **v)
|
|||
printf ("Can't allocate memory for zone.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifndef WIN32
|
||||
noconinput = COM_CheckParm ("-noconinput");
|
||||
if (!noconinput)
|
||||
|
|
|
@ -46,24 +46,25 @@ static const char rcsid[] =
|
|||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
# include <stdarg.h>
|
||||
# include <ctype.h>
|
||||
# include <signal.h>
|
||||
# include <sys/types.h>
|
||||
# include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
# include <sys/types.h>
|
||||
# include <sys/mman.h>
|
||||
# include <ctype.h>
|
||||
# include <signal.h>
|
||||
# include <stdarg.h>
|
||||
#endif
|
||||
|
||||
#include <SDL.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include "QF/sys.h"
|
||||
#include "QF/qargs.h"
|
||||
#include "QF/sys.h"
|
||||
|
||||
#include "client.h"
|
||||
#include "compat.h"
|
||||
|
@ -81,7 +82,6 @@ qboolean Minimized = false;
|
|||
void MaskExceptions (void);
|
||||
#endif
|
||||
|
||||
|
||||
void
|
||||
Sys_Init (void)
|
||||
{
|
||||
|
@ -120,8 +120,6 @@ shutdown (void)
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
void
|
||||
Sys_DebugLog (const char *file, const char *fmt, ...)
|
||||
{
|
||||
|
@ -181,7 +179,7 @@ SDL_main (int c, char **v)
|
|||
host_parms.argc = com_argc;
|
||||
host_parms.argv = com_argv;
|
||||
|
||||
host_parms.memsize = 16 * 1024 * 1024; // 16MB default heap
|
||||
host_parms.memsize = 16 * 1024 * 1024; // 16MB default heap
|
||||
|
||||
j = COM_CheckParm ("-mem");
|
||||
if (j)
|
||||
|
|
Loading…
Reference in a new issue