Clean __osMalloc.c (#4351)
* Remove #ifs * Add `NODE_IS_VALID` * Fix current macros * `NODE_GET_NEXT` & `NODE_GET_PREV` * Add macros * Use macros and general cleanup * Fix build (hopefully) * Address review
This commit is contained in:
@@ -2038,13 +2038,13 @@ typedef struct ArenaNode {
|
||||
/* 0x04 */ size_t size;
|
||||
/* 0x08 */ struct ArenaNode* next;
|
||||
/* 0x0C */ struct ArenaNode* prev;
|
||||
///* 0x10 */ const char* filename;
|
||||
///* 0x14 */ s32 line;
|
||||
///* 0x18 */ OSId threadId;
|
||||
///* 0x1C */ Arena* arena;
|
||||
///* 0x20 */ OSTime time;
|
||||
///* 0x28 */ u8 unk_28[0x30-0x28]; // probably padding
|
||||
} ArenaNode; // size = 0x10
|
||||
// /* 0x10 */ const char* filename;
|
||||
// /* 0x14 */ s32 line;
|
||||
// /* 0x18 */ OSId threadId;
|
||||
// /* 0x1C */ Arena* arena;
|
||||
// /* 0x20 */ OSTime time;
|
||||
// /* 0x28 */ u8 unk_28[0x30-0x28]; // probably padding
|
||||
} ArenaNode; // size = 0x30
|
||||
|
||||
typedef struct OverlayRelocationSection {
|
||||
/* 0x00 */ u32 textSize;
|
||||
|
||||
Reference in New Issue
Block a user