jedi-academy/codemp/icarus/Memory.cpp
2013-04-23 15:21:39 +10:00

20 lines
454 B
C++

//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);
}