Initial commit.
This commit is contained in:
20
codemp/icarus/memory.cpp
Normal file
20
codemp/icarus/memory.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
//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);
|
||||
}
|
||||
Reference in New Issue
Block a user