mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-21 18:02:43 +01:00
- aligned D_MALLOC
This commit is contained in:
parent
d4cdb48ddf
commit
236be5f9e5
@ -66,7 +66,7 @@ extern void sys_freeall();
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define D_MALLOC(size) (char*)mallocptr; mallocptr += (size);// (char*)((int)mallocptr + size + 3 & 0xfffffffc);
|
||||
#define D_MALLOC(size) (char*)mallocptr; mallocptr += (((size) + 3) & -4);
|
||||
#define D_TEMPALLOC(size) (char*)mallocptr
|
||||
#define D_TEMPFREE()
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user