usbloadergx/source/libs/libext2fs/mem_allocate.h
dimok321 18a26d7e1a *Fixed booting games for huge ext2/3/4 drives
*Rewrote complete main menu function
*Moved ext2/3/4 disc cache to mem2 as on FAT/NTFS (added ext2 as custom lib due to that)
*Added missing header files from R1011 for ext support
*Fixed crash on Numpad when pressing a button
*Fixed boot of WiiMC
*Changed SVN line ending to LF (Unix style)
2010-12-12 16:31:13 +00:00

24 lines
465 B
C

#ifndef _MEM_ALLOCATE_H
#define _MEM_ALLOCATE_H
#include <malloc.h>
#include "memory/mem2.h"
extern __inline__ void* mem_alloc (size_t size) {
return MEM2_alloc(size);
}
extern __inline__ void* mem_realloc (void *p, size_t size) {
return MEM2_realloc(p, size);
}
extern __inline__ void* mem_align (size_t a, size_t size) {
return MEM2_alloc(size);
}
extern __inline__ void mem_free (void* mem) {
MEM2_free(mem);
}
#endif /* _MEM_ALLOCATE_H */