bump default heap size to 72mb and zone size to 512kb in 64 bit builds.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@853 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2013-07-09 05:50:04 +00:00
parent 0116a1ba90
commit 3642bb5dd5
2 changed files with 8 additions and 0 deletions

View File

@ -52,7 +52,11 @@ static void Sys_CheckSDL (void)
} }
} }
#if defined(_LP64) || defined(__LP64__) || defined(_WIN64)
#define DEFAULT_MEMORY 0x4800000
#else
#define DEFAULT_MEMORY 0x4000000 #define DEFAULT_MEMORY 0x4000000
#endif
static quakeparms_t parms; static quakeparms_t parms;
static Uint8 appState; static Uint8 appState;

View File

@ -22,7 +22,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "quakedef.h" #include "quakedef.h"
#if defined(_LP64) || defined(__LP64__) || defined(_WIN64)
#define DYNAMIC_SIZE 0x80000 // 512*1024
#else
#define DYNAMIC_SIZE 0x60000 // 384*1024 #define DYNAMIC_SIZE 0x60000 // 384*1024
#endif
#define ZONEID 0x1d4a11 #define ZONEID 0x1d4a11
#define MINFRAGMENT 64 #define MINFRAGMENT 64