mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-09-02 08:43:48 -04:00
__osMalloc: Add OSArena flags
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
extern "C" {
|
||||
#endif // !__cplusplus
|
||||
|
||||
#define OSArena_FLAG_CLEAR_MEM_ON_ALLOC (1 << 0)
|
||||
#define OSArena_FLAG_CLEAR_MEM_ON_FREE (1 << 1)
|
||||
#define OSArena_FLAG_FREE_BLOCK_TEST (1 << 2)
|
||||
|
||||
typedef struct OSMemBlock_ {
|
||||
/* 0x00 */ s16 magic;
|
||||
/* 0x02 */ s16 free;
|
||||
|
||||
Reference in New Issue
Block a user