ñmatch malloc,link memtrk

This commit is contained in:
Prakxo
2023-03-06 20:27:17 +01:00
parent e6af76e289
commit 771ffca329
11 changed files with 212 additions and 123 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef OS_MESG_H
#define OS_MESG_H
#include "types.h"
#include "dolphin/os/OSThread.h"
typedef void* OSMesg;
typedef struct OSMesgQueue {
/* 0x00 */ OSThread* mtqueue;
/* 0x04 */ OSThread* fullqueue;
/* 0x08 */ s32 validCount;
/* 0x0C */ s32 first;
/* 0x10 */ s32 msgCount;
/* 0x14 */ OSMesg* msg;
} OSMesgQueue; // size = 0x18
#endif
+3 -2
View File
@@ -2,7 +2,8 @@
#define LOS_THREAD_H
#include "types.h"
#include "dolphin/OSThread.h"
#include "dolphin/os/OSThread.h"
typedef s32 OSPri;
typedef s32 OSId;
@@ -10,4 +11,4 @@ typedef s32 OSId;
OSId osGetThreadId(OSThread*);
#endif
#endif
+2
View File
@@ -3,6 +3,8 @@
#include "types.h"
typedef u64 OSTime;
typedef struct {
u32 r:8;
u32 g:8;