Initial commit.

This commit is contained in:
Jim Gray
2013-04-04 14:32:05 -07:00
parent ba5c81da32
commit d71d53e8ec
2180 changed files with 1393544 additions and 1 deletions

20
codemp/icarus/memory.cpp Normal file
View 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);
}