moved some stuff to MemoryMgr

This commit is contained in:
aap
2020-11-28 16:16:15 +01:00
parent b23bda6e45
commit a8035b6466
12 changed files with 150 additions and 143 deletions

View File

@ -62,18 +62,6 @@ enum {
NUM_FIXED_MEMBLOCKS = 6
};
extern RwMemoryFunctions memFuncs;
void InitMemoryMgr(void);
void *MemoryMgrMalloc(uint32 size);
void *MemoryMgrRealloc(void *ptr, uint32 size);
void *MemoryMgrCalloc(uint32 num, uint32 size);
void MemoryMgrFree(void *ptr);
void *RwMallocAlign(RwUInt32 size, RwUInt32 align);
void RwFreeAlign(void *mem);
template<typename T, uint32 N>
class CStack
{