jedi-academy/codemp/icarus/Memory.cpp

21 lines
454 B
C++
Raw Normal View History

2013-04-19 02:52:48 +00:00
//Anything above this #include will be ignored by the compiler
#include "../qcommon/exe_headers.h"
#include "icarus.h"
// leave these two as standard mallocs for the moment, there's something weird happening in ICARUS...
//
void *ICARUS_Malloc(int iSize)
{
//return gi.Malloc(iSize, TAG_ICARUS);
//return malloc(iSize);
return Z_Malloc(iSize, TAG_ICARUS5, qfalse);
}
void ICARUS_Free(void *pMem)
{
//gi.Free(pMem);
//free(pMem);
Z_Free(pMem);
}