mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 11:52:32 +01:00
- aligned D_MALLOC
This commit is contained in:
parent
d4cdb48ddf
commit
236be5f9e5
@ -66,7 +66,7 @@ extern void sys_freeall();
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#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_TEMPALLOC(size) (char*)mallocptr
|
||||||
#define D_TEMPFREE()
|
#define D_TEMPFREE()
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user