mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 21:49:20 +00:00
osx : malloc.h => malloc/malloc.h
This commit is contained in:
@@ -133,7 +133,14 @@ void Hunk_Print()
|
||||
void Memory_Init( void )
|
||||
{
|
||||
MEM_ALLOC_CREDIT();
|
||||
|
||||
#ifdef PLATFORM_64BITS
|
||||
// Seems to need to be larger to not get exhausted on
|
||||
// 64-bit. Perhaps because of larger pointer sizes.
|
||||
int nMaxBytes = 128*1024*1024;
|
||||
#else
|
||||
int nMaxBytes = 48*1024*1024;
|
||||
#endif
|
||||
const int nMinCommitBytes = 0x8000;
|
||||
#ifndef HUNK_USE_16MB_PAGE
|
||||
const int nInitialCommit = 0x280000;
|
||||
|
||||
Reference in New Issue
Block a user