mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: zone: add small allocation optimization, reducing the size of <255 bytes allocations at the cost of less debug info
Keep it opt-in through a flag at pool alloc time. Opt-in console related allocations, they are usually small enough strings.
This commit is contained in:
@@ -1546,7 +1546,7 @@ static int FS_StripIdiotRelativePath( const char *dllname, const char *gamefolde
|
||||
return 0;
|
||||
}
|
||||
|
||||
static poolhandle_t Mem_AllocPoolStub( const char *name, const char *filename, int fileline )
|
||||
static poolhandle_t Mem_AllocPoolStub( const char *name, unsigned int flags, const char *filename, int fileline )
|
||||
{
|
||||
return (poolhandle_t)0xDEADC0DE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user