mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-08 18:42:59 -04:00
Use hex instead of decimal
This commit is contained in:
+16
-15
@@ -44,6 +44,7 @@ void func_80080E00(void); // func_80080E00
|
||||
// UNK_RET func_80081550(UNK_ARGS);
|
||||
// UNK_RET func_800815A8(UNK_ARGS);
|
||||
// UNK_RET func_800815CC(UNK_ARGS);
|
||||
// UNK_RET func_800815CC(UNK_ARGS);
|
||||
// UNK_RET func_80081684(UNK_ARGS);
|
||||
// UNK_RET func_800816E8(UNK_ARGS);
|
||||
// UNK_RET func_800816F8(UNK_ARGS);
|
||||
@@ -51,7 +52,7 @@ void func_80080E00(void); // func_80080E00
|
||||
// UNK_RET func_80081718(UNK_ARGS);
|
||||
// UNK_RET func_80081728(UNK_ARGS);
|
||||
// UNK_RET func_80081730(UNK_ARGS);
|
||||
UNK_RET func_80081754(UNK_PTR, struct s80085320*, UNK_TYPE, UNK_TYPE); // func_80081754
|
||||
UNK_RET func_80081754(UNK_PTR, s80085320*, UNK_TYPE, UNK_TYPE); // func_80081754
|
||||
void func_80081820(void); // func_80081820
|
||||
void func_80081828(void); // func_80081828
|
||||
void func_80081830(void); // func_80081830
|
||||
@@ -130,11 +131,11 @@ void func_80084968(void); // func_80084968
|
||||
// UNK_RET func_800851FC(UNK_ARGS);
|
||||
// UNK_RET func_80085204(UNK_ARGS);
|
||||
// UNK_RET func_8008524C(UNK_ARGS);
|
||||
void func_80085320(struct s80085320*, UNK_PTR, UNK_PTR, UNK_TYPE, UNK_TYPE, UNK_PTR); // func_80085320
|
||||
UNK_RET func_800853F8(struct s80085320*); // func_800853F8
|
||||
UNK_TYPE func_80085468(struct s80085320*); // func_80085468
|
||||
void func_80085320(s80085320*, UNK_PTR, UNK_PTR, UNK_TYPE, UNK_TYPE, UNK_PTR); // func_80085320
|
||||
UNK_RET func_800853F8(s80085320*); // func_800853F8
|
||||
UNK_TYPE func_80085468(s80085320*); // func_80085468
|
||||
UNK_TYPE func_800854E0(UNK_ARGS); // func_800854E0
|
||||
UNK_RET func_80085538(struct s80085320*); // func_80085538
|
||||
UNK_RET func_80085538(s80085320*); // func_80085538
|
||||
// UNK_RET func_80085570(UNK_ARGS);
|
||||
// UNK_RET func_800859BC(UNK_ARGS);
|
||||
// UNK_RET func_80085A08(UNK_ARGS);
|
||||
@@ -459,11 +460,11 @@ UNK_RET osViModeMpalLan1(UNK_ARGS); // func_80098010
|
||||
UNK_RET __osRcpImTable(UNK_ARGS); // func_800991A0
|
||||
UNK_RET __libm_qnan_f(UNK_ARGS); // func_80099450
|
||||
UNK_RET func_800A5AC0(void*, UNK_TYPE); // func_800A5AC0
|
||||
UNK_RET func_800A5B6C(struct s800A5AC0*, z_GlobalContext*); // func_800A5B6C
|
||||
UNK_RET func_800A5B98(struct s800A5AC0*, UNK_TYPE); // func_800A5B98
|
||||
UNK_RET func_800A5C28(struct s800A5AC0*); // func_800A5C28
|
||||
UNK_RET func_800A5C60(struct s800A5AC0*, UNK_TYPE); // func_800A5C60
|
||||
UNK_RET func_800A5CB8(struct s800A5AC0*, UNK_TYPE); // func_800A5CB8
|
||||
UNK_RET func_800A5B6C(s800A5AC0*, z_GlobalContext*); // func_800A5B6C
|
||||
UNK_RET func_800A5B98(s800A5AC0*, UNK_TYPE); // func_800A5B98
|
||||
UNK_RET func_800A5C28(s800A5AC0*); // func_800A5C28
|
||||
UNK_RET func_800A5C60(s800A5AC0*, UNK_TYPE); // func_800A5C60
|
||||
UNK_RET func_800A5CB8(s800A5AC0*, UNK_TYPE); // func_800A5CB8
|
||||
// UNK_RET func_800A5D00(UNK_ARGS);
|
||||
// UNK_RET func_800A5D70(UNK_ARGS);
|
||||
// UNK_RET func_800A5E80(UNK_ARGS);
|
||||
@@ -728,7 +729,7 @@ UNK_TYPE func_800B5BB0(z_GlobalContext*, UNK_TYPE); // func_800B5BB0
|
||||
// UNK_RET func_800B6680(UNK_ARGS);
|
||||
// UNK_RET func_800B670C(UNK_ARGS);
|
||||
// UNK_RET func_800B672C(UNK_ARGS);
|
||||
UNK_RET func_800B675C(struct s800A5AC0*, UNK_TYPE); // func_800B675C
|
||||
UNK_RET func_800B675C(s800A5AC0*, UNK_TYPE); // func_800B675C
|
||||
// UNK_RET func_800B67C0(UNK_ARGS);
|
||||
// UNK_RET func_800B67E0(UNK_ARGS);
|
||||
// UNK_RET func_800B67FC(UNK_ARGS);
|
||||
@@ -788,12 +789,12 @@ UNK_RET func_800B675C(struct s800A5AC0*, UNK_TYPE); // func_800B675C
|
||||
// UNK_RET func_800B8248(UNK_ARGS);
|
||||
// UNK_RET func_800B82EC(UNK_ARGS);
|
||||
// UNK_RET func_800B83BC(UNK_ARGS);
|
||||
UNK_TYPE func_800B84D0(struct s800A5AC0*, UNK_TYPE); // func_800B84D0
|
||||
UNK_TYPE func_800B84D0(s800A5AC0*, UNK_TYPE); // func_800B84D0
|
||||
// UNK_RET func_800B8500(UNK_ARGS);
|
||||
// UNK_RET func_800B85E0(UNK_ARGS);
|
||||
// UNK_RET func_800B8614(UNK_ARGS);
|
||||
UNK_RET func_800B863C(struct s800A5AC0*, UNK_TYPE); // func_800B863C
|
||||
UNK_TYPE func_800B867C(struct s800A5AC0*); // func_800B867C
|
||||
UNK_RET func_800B863C(s800A5AC0*, UNK_TYPE); // func_800B863C
|
||||
UNK_TYPE func_800B867C(s800A5AC0*); // func_800B867C
|
||||
// UNK_RET func_800B86C8(UNK_ARGS);
|
||||
// UNK_RET func_800B8708(UNK_ARGS);
|
||||
// UNK_RET func_800B8718(UNK_ARGS);
|
||||
@@ -888,7 +889,7 @@ UNK_TYPE func_800B867C(struct s800A5AC0*); // func_800B867C
|
||||
// UNK_RET func_800BDAA0(UNK_ARGS);
|
||||
// UNK_RET func_800BDC5C(UNK_ARGS);
|
||||
// UNK_RET func_800BDFB0(UNK_ARGS);
|
||||
UNK_RET func_800BDFC0(UNK_TYPE, UNK_TYPE, UNK_TYPE, struct s800A5AC0*); // func_800BDFC0
|
||||
UNK_RET func_800BDFC0(UNK_TYPE, UNK_TYPE, UNK_TYPE, s800A5AC0*); // func_800BDFC0
|
||||
void func_800BE03C(z_GlobalContext*, UNK_TYPE); // func_800BE03C
|
||||
// UNK_RET func_800BE0B8(UNK_ARGS);
|
||||
// UNK_RET func_800BE184(UNK_ARGS);
|
||||
|
||||
+166
-166
@@ -8,81 +8,81 @@ typedef s32 OSPri;
|
||||
typedef s32 OSId;
|
||||
|
||||
typedef union {
|
||||
/* 0 */ struct {
|
||||
/* 0 */ f32 f_odd;
|
||||
/* 4 */ f32 f_even;
|
||||
/* 0x0 */ struct {
|
||||
/* 0x0 */ f32 f_odd;
|
||||
/* 0x4 */ f32 f_even;
|
||||
} f;
|
||||
/* 0 */ f64 d;
|
||||
/* 0x0 */ f64 d;
|
||||
} __OSfp;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u64 at;
|
||||
/* 8 */ u64 v0;
|
||||
/* 16 */ u64 v1;
|
||||
/* 24 */ u64 a0;
|
||||
/* 32 */ u64 a1;
|
||||
/* 40 */ u64 a2;
|
||||
/* 48 */ u64 a3;
|
||||
/* 56 */ u64 t0;
|
||||
/* 64 */ u64 t1;
|
||||
/* 72 */ u64 t2;
|
||||
/* 80 */ u64 t3;
|
||||
/* 88 */ u64 t4;
|
||||
/* 96 */ u64 t5;
|
||||
/* 104 */ u64 t6;
|
||||
/* 112 */ u64 t7;
|
||||
/* 120 */ u64 s0;
|
||||
/* 128 */ u64 s1;
|
||||
/* 136 */ u64 s2;
|
||||
/* 144 */ u64 s3;
|
||||
/* 152 */ u64 s4;
|
||||
/* 160 */ u64 s5;
|
||||
/* 168 */ u64 s6;
|
||||
/* 176 */ u64 s7;
|
||||
/* 184 */ u64 t8;
|
||||
/* 192 */ u64 t9;
|
||||
/* 200 */ u64 gp;
|
||||
/* 208 */ u64 sp;
|
||||
/* 216 */ u64 s8;
|
||||
/* 224 */ u64 ra;
|
||||
/* 232 */ u64 lo;
|
||||
/* 240 */ u64 hi;
|
||||
/* 248 */ u32 sr;
|
||||
/* 252 */ u32 pc;
|
||||
/* 256 */ u32 cause;
|
||||
/* 260 */ u32 badvaddr;
|
||||
/* 264 */ u32 rcp;
|
||||
/* 268 */ u32 fpcsr;
|
||||
/* 272 */ __OSfp fp0;
|
||||
/* 280 */ __OSfp fp2;
|
||||
/* 288 */ __OSfp fp4;
|
||||
/* 296 */ __OSfp fp6;
|
||||
/* 304 */ __OSfp fp8;
|
||||
/* 312 */ __OSfp fp10;
|
||||
/* 320 */ __OSfp fp12;
|
||||
/* 328 */ __OSfp fp14;
|
||||
/* 336 */ __OSfp fp16;
|
||||
/* 344 */ __OSfp fp18;
|
||||
/* 352 */ __OSfp fp20;
|
||||
/* 360 */ __OSfp fp22;
|
||||
/* 368 */ __OSfp fp24;
|
||||
/* 376 */ __OSfp fp26;
|
||||
/* 384 */ __OSfp fp28;
|
||||
/* 392 */ __OSfp fp30;
|
||||
/* 0x0 */ u64 at;
|
||||
/* 0x8 */ u64 v0;
|
||||
/* 0x10 */ u64 v1;
|
||||
/* 0x18 */ u64 a0;
|
||||
/* 0x20 */ u64 a1;
|
||||
/* 0x28 */ u64 a2;
|
||||
/* 0x30 */ u64 a3;
|
||||
/* 0x38 */ u64 t0;
|
||||
/* 0x40 */ u64 t1;
|
||||
/* 0x48 */ u64 t2;
|
||||
/* 0x50 */ u64 t3;
|
||||
/* 0x58 */ u64 t4;
|
||||
/* 0x60 */ u64 t5;
|
||||
/* 0x68 */ u64 t6;
|
||||
/* 0x70 */ u64 t7;
|
||||
/* 0x78 */ u64 s0;
|
||||
/* 0x80 */ u64 s1;
|
||||
/* 0x88 */ u64 s2;
|
||||
/* 0x90 */ u64 s3;
|
||||
/* 0x98 */ u64 s4;
|
||||
/* 0xA0 */ u64 s5;
|
||||
/* 0xA8 */ u64 s6;
|
||||
/* 0xB0 */ u64 s7;
|
||||
/* 0xB8 */ u64 t8;
|
||||
/* 0xC0 */ u64 t9;
|
||||
/* 0xC8 */ u64 gp;
|
||||
/* 0xD0 */ u64 sp;
|
||||
/* 0xD8 */ u64 s8;
|
||||
/* 0xE0 */ u64 ra;
|
||||
/* 0xE8 */ u64 lo;
|
||||
/* 0xF0 */ u64 hi;
|
||||
/* 0xF8 */ u32 sr;
|
||||
/* 0xFC */ u32 pc;
|
||||
/* 0x100 */ u32 cause;
|
||||
/* 0x104 */ u32 badvaddr;
|
||||
/* 0x108 */ u32 rcp;
|
||||
/* 0x10C */ u32 fpcsr;
|
||||
/* 0x110 */ __OSfp fp0;
|
||||
/* 0x118 */ __OSfp fp2;
|
||||
/* 0x120 */ __OSfp fp4;
|
||||
/* 0x128 */ __OSfp fp6;
|
||||
/* 0x130 */ __OSfp fp8;
|
||||
/* 0x138 */ __OSfp fp10;
|
||||
/* 0x140 */ __OSfp fp12;
|
||||
/* 0x148 */ __OSfp fp14;
|
||||
/* 0x150 */ __OSfp fp16;
|
||||
/* 0x158 */ __OSfp fp18;
|
||||
/* 0x160 */ __OSfp fp20;
|
||||
/* 0x168 */ __OSfp fp22;
|
||||
/* 0x170 */ __OSfp fp24;
|
||||
/* 0x178 */ __OSfp fp26;
|
||||
/* 0x180 */ __OSfp fp28;
|
||||
/* 0x188 */ __OSfp fp30;
|
||||
} __OSThreadContext;
|
||||
|
||||
|
||||
typedef struct OSThread_s {
|
||||
/* 0 */ struct OSThread_s* next;
|
||||
/* 4 */ OSPri priority;
|
||||
/* 8 */ struct OSThread_s** queue;
|
||||
/* 12 */ struct OSThread_s* tlnext;
|
||||
/* 16 */ u16 state;
|
||||
/* 18 */ u16 flags;
|
||||
/* 20 */ OSId id;
|
||||
/* 24 */ int fp;
|
||||
/* 32 */ __OSThreadContext context;
|
||||
/* 0x0 */ struct OSThread_s* next;
|
||||
/* 0x4 */ OSPri priority;
|
||||
/* 0x8 */ struct OSThread_s** queue;
|
||||
/* 0xC */ struct OSThread_s* tlnext;
|
||||
/* 0x10 */ u16 state;
|
||||
/* 0x12 */ u16 flags;
|
||||
/* 0x14 */ OSId id;
|
||||
/* 0x18 */ int fp;
|
||||
/* 0x20 */ __OSThreadContext context;
|
||||
} OSThread;
|
||||
|
||||
typedef u32 OSEvent;
|
||||
@@ -94,176 +94,176 @@ typedef u32 OSPageMask;
|
||||
typedef void* OSMesg;
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ OSThread* mtqueue;
|
||||
/* 4 */ OSThread* fullqueue;
|
||||
/* 8 */ s32 validCount;
|
||||
/* 12 */ s32 first;
|
||||
/* 16 */ s32 msgCount;
|
||||
/* 20 */ OSMesg* msg;
|
||||
/* 0x0 */ OSThread* mtqueue;
|
||||
/* 0x4 */ OSThread* fullqueue;
|
||||
/* 0x8 */ s32 validCount;
|
||||
/* 0xC */ s32 first;
|
||||
/* 0x10 */ s32 msgCount;
|
||||
/* 0x14 */ OSMesg* msg;
|
||||
} OSMesgQueue;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 errStatus;
|
||||
/* 4 */ void* dramAddr;
|
||||
/* 8 */ void* C2Addr;
|
||||
/* 12 */ u32 sectorSize;
|
||||
/* 16 */ u32 C1ErrNum;
|
||||
/* 20 */ u32 C1ErrSector[4];
|
||||
/* 0x0 */ u32 errStatus;
|
||||
/* 0x4 */ void* dramAddr;
|
||||
/* 0x8 */ void* C2Addr;
|
||||
/* 0xC */ u32 sectorSize;
|
||||
/* 0x10 */ u32 C1ErrNum;
|
||||
/* 0x14 */ u32 C1ErrSector[4];
|
||||
} __OSBlockInfo;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 cmdType;
|
||||
/* 4 */ u16 transferMode;
|
||||
/* 6 */ u16 blockNum;
|
||||
/* 8 */ s32 sectorNum;
|
||||
/* 12 */ u32 devAddr;
|
||||
/* 16 */ u32 bmCtlShadow;
|
||||
/* 20 */ u32 seqCtlShadow;
|
||||
/* 24 */ __OSBlockInfo block[2];
|
||||
/* 0x0 */ u32 cmdType;
|
||||
/* 0x4 */ u16 transferMode;
|
||||
/* 0x6 */ u16 blockNum;
|
||||
/* 0x8 */ s32 sectorNum;
|
||||
/* 0xC */ u32 devAddr;
|
||||
/* 0x10 */ u32 bmCtlShadow;
|
||||
/* 0x14 */ u32 seqCtlShadow;
|
||||
/* 0x18 */ __OSBlockInfo block[2];
|
||||
} __OSTranxInfo;
|
||||
|
||||
|
||||
typedef struct OSPiHandle_s {
|
||||
/* 0 */ struct OSPiHandle_s* next;
|
||||
/* 4 */ u8 type;
|
||||
/* 5 */ u8 latency;
|
||||
/* 6 */ u8 pageSize;
|
||||
/* 7 */ u8 relDuration;
|
||||
/* 8 */ u8 pulse;
|
||||
/* 9 */ u8 domain;
|
||||
/* 12 */ u32 baseAddress;
|
||||
/* 16 */ u32 speed;
|
||||
/* 20 */ __OSTranxInfo transferInfo;
|
||||
/* 0x0 */ struct OSPiHandle_s* next;
|
||||
/* 0x4 */ u8 type;
|
||||
/* 0x5 */ u8 latency;
|
||||
/* 0x6 */ u8 pageSize;
|
||||
/* 0x7 */ u8 relDuration;
|
||||
/* 0x8 */ u8 pulse;
|
||||
/* 0x9 */ u8 domain;
|
||||
/* 0xC */ u32 baseAddress;
|
||||
/* 0x10 */ u32 speed;
|
||||
/* 0x14 */ __OSTranxInfo transferInfo;
|
||||
} OSPiHandle;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u8 type;
|
||||
/* 4 */ u32 address;
|
||||
/* 0x0 */ u8 type;
|
||||
/* 0x4 */ u32 address;
|
||||
} OSPiInfo;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u16 type;
|
||||
/* 2 */ u8 pri;
|
||||
/* 3 */ u8 status;
|
||||
/* 4 */ OSMesgQueue* retQueue;
|
||||
/* 0x0 */ u16 type;
|
||||
/* 0x2 */ u8 pri;
|
||||
/* 0x3 */ u8 status;
|
||||
/* 0x4 */ OSMesgQueue* retQueue;
|
||||
} OSIoMesgHdr;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ OSIoMesgHdr hdr;
|
||||
/* 8 */ void* dramAddr;
|
||||
/* 12 */ u32 devAddr;
|
||||
/* 16 */ u32 size;
|
||||
/* 0x0 */ OSIoMesgHdr hdr;
|
||||
/* 0x8 */ void* dramAddr;
|
||||
/* 0xC */ u32 devAddr;
|
||||
/* 0x10 */ u32 size;
|
||||
} OSIoMesg;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ s32 active;
|
||||
/* 4 */ OSThread* thread;
|
||||
/* 8 */ OSMesgQueue* cmdQueue;
|
||||
/* 12 */ OSMesgQueue* evtQueue;
|
||||
/* 16 */ OSMesgQueue* acsQueue;
|
||||
/* 20 */ s32 (*dma)(... /* ECOFF does not store param types */);
|
||||
/* 0x0 */ s32 active;
|
||||
/* 0x4 */ OSThread* thread;
|
||||
/* 0x8 */ OSMesgQueue* cmdQueue;
|
||||
/* 0xC */ OSMesgQueue* evtQueue;
|
||||
/* 0x10 */ OSMesgQueue* acsQueue;
|
||||
/* 0x14 */ s32 (*dma)(... /* ECOFF does not store param types */);
|
||||
} OSDevMgr;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 ctrl;
|
||||
/* 4 */ u32 width;
|
||||
/* 8 */ u32 burst;
|
||||
/* 12 */ u32 vSync;
|
||||
/* 16 */ u32 hSync;
|
||||
/* 20 */ u32 leap;
|
||||
/* 24 */ u32 hStart;
|
||||
/* 28 */ u32 xScale;
|
||||
/* 32 */ u32 vCurrent;
|
||||
/* 0x0 */ u32 ctrl;
|
||||
/* 0x4 */ u32 width;
|
||||
/* 0x8 */ u32 burst;
|
||||
/* 0xC */ u32 vSync;
|
||||
/* 0x10 */ u32 hSync;
|
||||
/* 0x14 */ u32 leap;
|
||||
/* 0x18 */ u32 hStart;
|
||||
/* 0x1C */ u32 xScale;
|
||||
/* 0x20 */ u32 vCurrent;
|
||||
} OSViCommonRegs;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 origin;
|
||||
/* 4 */ u32 yScale;
|
||||
/* 8 */ u32 vStart;
|
||||
/* 12 */ u32 vBurst;
|
||||
/* 16 */ u32 vIntr;
|
||||
/* 0x0 */ u32 origin;
|
||||
/* 0x4 */ u32 yScale;
|
||||
/* 0x8 */ u32 vStart;
|
||||
/* 0xC */ u32 vBurst;
|
||||
/* 0x10 */ u32 vIntr;
|
||||
} OSViFieldRegs;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u8 type;
|
||||
/* 4 */ OSViCommonRegs comRegs;
|
||||
/* 40 */ OSViFieldRegs fldRegs[2];
|
||||
/* 0x0 */ u8 type;
|
||||
/* 0x4 */ OSViCommonRegs comRegs;
|
||||
/* 0x28 */ OSViFieldRegs fldRegs[2];
|
||||
} OSViMode;
|
||||
|
||||
typedef u64 OSTime;
|
||||
|
||||
|
||||
typedef struct OSTimer_s {
|
||||
/* 0 */ struct OSTimer_s* next;
|
||||
/* 4 */ struct OSTimer_s* prev;
|
||||
/* 8 */ OSTime interval;
|
||||
/* 16 */ OSTime value;
|
||||
/* 24 */ OSMesgQueue* mq;
|
||||
/* 28 */ OSMesg msg;
|
||||
/* 0x0 */ struct OSTimer_s* next;
|
||||
/* 0x4 */ struct OSTimer_s* prev;
|
||||
/* 0x8 */ OSTime interval;
|
||||
/* 0x10 */ OSTime value;
|
||||
/* 0x18 */ OSMesgQueue* mq;
|
||||
/* 0x1C */ OSMesg msg;
|
||||
} OSTimer;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u16 type;
|
||||
/* 2 */ u8 status;
|
||||
/* 3 */ u8 errno;
|
||||
/* 0x0 */ u16 type;
|
||||
/* 0x2 */ u8 status;
|
||||
/* 0x3 */ u8 errno;
|
||||
} OSContStatus;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u16 button;
|
||||
/* 2 */ s8 stick_x;
|
||||
/* 3 */ s8 stick_y;
|
||||
/* 4 */ u8 errno;
|
||||
/* 0x0 */ u16 button;
|
||||
/* 0x2 */ s8 stick_x;
|
||||
/* 0x3 */ s8 stick_y;
|
||||
/* 0x4 */ u8 errno;
|
||||
} OSContPad;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ void* address;
|
||||
/* 4 */ u8 databuffer[32];
|
||||
/* 36 */ u8 addressCrc;
|
||||
/* 37 */ u8 dataCrc;
|
||||
/* 38 */ u8 errno;
|
||||
/* 0x0 */ void* address;
|
||||
/* 0x4 */ u8 databuffer[32];
|
||||
/* 0x24 */ u8 addressCrc;
|
||||
/* 0x25 */ u8 dataCrc;
|
||||
/* 0x26 */ u8 errno;
|
||||
} OSContRamIo;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ int status;
|
||||
/* 4 */ OSMesgQueue* queue;
|
||||
/* 8 */ int channel;
|
||||
/* 12 */ u8 id[32];
|
||||
/* 44 */ u8 backup_id[32];
|
||||
/* 76 */ u8 label[32];
|
||||
/* 108 */ int pack_size;
|
||||
/* 112 */ int version;
|
||||
/* 116 */ int dir_size;
|
||||
/* 120 */ int inode_start_page;
|
||||
/* 0x0 */ int status;
|
||||
/* 0x4 */ OSMesgQueue* queue;
|
||||
/* 0x8 */ int channel;
|
||||
/* 0xC */ u8 id[32];
|
||||
/* 0x2C */ u8 backup_id[32];
|
||||
/* 0x4C */ u8 label[32];
|
||||
/* 0x6C */ int pack_size;
|
||||
/* 0x70 */ int version;
|
||||
/* 0x74 */ int dir_size;
|
||||
/* 0x78 */ int inode_start_page;
|
||||
} OSPfs;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 file_size;
|
||||
/* 4 */ u16 company_code;
|
||||
/* 6 */ u16 game_code;
|
||||
/* 8 */ unsigned char ext_name[4];
|
||||
/* 12 */ unsigned char game_name[16];
|
||||
/* 0x0 */ u32 file_size;
|
||||
/* 0x4 */ u16 company_code;
|
||||
/* 0x6 */ u16 game_code;
|
||||
/* 0x8 */ unsigned char ext_name[4];
|
||||
/* 0xC */ unsigned char game_name[16];
|
||||
} OSPfsState;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u16* histo_base;
|
||||
/* 4 */ u32 histo_size;
|
||||
/* 8 */ u32* text_start;
|
||||
/* 12 */ u32* text_end;
|
||||
/* 0x0 */ u16* histo_base;
|
||||
/* 0x4 */ u32 histo_size;
|
||||
/* 0x8 */ u32* text_start;
|
||||
/* 0xC */ u32* text_end;
|
||||
} OSProf;
|
||||
|
||||
#endif
|
||||
|
||||
+4
-4
@@ -11,14 +11,14 @@
|
||||
#include <sptask.h>
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ OSMesgQueue* messageQueue;
|
||||
/* 4 */ OSMesg message;
|
||||
/* 0x0 */ OSMesgQueue* messageQueue;
|
||||
/* 0x4 */ OSMesg message;
|
||||
} __OSEventState;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ OSThread* next;
|
||||
/* 4 */ OSPri priority;
|
||||
/* 0x0 */ OSThread* next;
|
||||
/* 0x4 */ OSPri priority;
|
||||
} __OSThreadTail;
|
||||
|
||||
#include <variables.h> // TODO all variables should be moved to the file that logically defines them
|
||||
|
||||
+4
-4
@@ -4,10 +4,10 @@
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ long type;
|
||||
/* 4 */ long length;
|
||||
/* 8 */ long magic;
|
||||
/* 12 */ unsigned char userdata[24564];
|
||||
/* 0x0 */ long type;
|
||||
/* 0x4 */ long length;
|
||||
/* 0x8 */ long magic;
|
||||
/* 0xC */ unsigned char userdata[24564];
|
||||
} RamRomBuffer;
|
||||
|
||||
#endif
|
||||
|
||||
+3
-3
@@ -2,9 +2,9 @@
|
||||
#define _RDB_H_
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ unsigned int type : 2;
|
||||
/* 0 */ unsigned int length : 2;
|
||||
/* 1 */ unsigned char buf[3];
|
||||
/* 0x0 */ unsigned int type : 2;
|
||||
/* 0x0 */ unsigned int length : 2;
|
||||
/* 0x1 */ unsigned char buf[3];
|
||||
} rdbPacket;
|
||||
|
||||
#endif
|
||||
|
||||
+18
-18
@@ -4,28 +4,28 @@
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 type;
|
||||
/* 4 */ u32 flags;
|
||||
/* 8 */ u64* ucode_boot;
|
||||
/* 12 */ u32 ucode_boot_size;
|
||||
/* 16 */ u64* ucode;
|
||||
/* 20 */ u32 ucode_size;
|
||||
/* 24 */ u64* ucode_data;
|
||||
/* 28 */ u32 ucode_data_size;
|
||||
/* 32 */ u64* dram_stack;
|
||||
/* 36 */ u32 dram_stack_size;
|
||||
/* 40 */ u64* output_buff;
|
||||
/* 44 */ u64* output_buff_size;
|
||||
/* 48 */ u64* data_ptr;
|
||||
/* 52 */ u32 data_size;
|
||||
/* 56 */ u64* yield_data_ptr;
|
||||
/* 60 */ u32 yield_data_size;
|
||||
/* 0x0 */ u32 type;
|
||||
/* 0x4 */ u32 flags;
|
||||
/* 0x8 */ u64* ucode_boot;
|
||||
/* 0xC */ u32 ucode_boot_size;
|
||||
/* 0x10 */ u64* ucode;
|
||||
/* 0x14 */ u32 ucode_size;
|
||||
/* 0x18 */ u64* ucode_data;
|
||||
/* 0x1C */ u32 ucode_data_size;
|
||||
/* 0x20 */ u64* dram_stack;
|
||||
/* 0x24 */ u32 dram_stack_size;
|
||||
/* 0x28 */ u64* output_buff;
|
||||
/* 0x2C */ u64* output_buff_size;
|
||||
/* 0x30 */ u64* data_ptr;
|
||||
/* 0x34 */ u32 data_size;
|
||||
/* 0x38 */ u64* yield_data_ptr;
|
||||
/* 0x3C */ u32 yield_data_size;
|
||||
} OSTask_t;
|
||||
|
||||
|
||||
typedef union {
|
||||
/* 0 */ OSTask_t t;
|
||||
/* 0 */ long long force_structure_alignment;
|
||||
/* 0x0 */ OSTask_t t;
|
||||
/* 0x0 */ long long force_structure_alignment;
|
||||
} OSTask;
|
||||
|
||||
typedef u32 OSYieldResult;
|
||||
|
||||
+129
-129
@@ -5,104 +5,104 @@
|
||||
#include <unk.h>
|
||||
#include <os.h>
|
||||
|
||||
struct s80085320 {
|
||||
/* 00 */ struct s80085320* next;
|
||||
/* 04 */ struct s80085320* prev;
|
||||
/* 08 */ UNK_TYPE* unk8;
|
||||
/* 12 */ UNK_TYPE* unk12;
|
||||
/* 16 */ UNK_TYPE unk16;
|
||||
/* 20 */ UNK_TYPE unk20;
|
||||
/* 24 */ UNK_TYPE* unk24;
|
||||
};
|
||||
typedef struct s80085320_s {
|
||||
/* 0x00 */ struct s80085320_s* next;
|
||||
/* 0x04 */ struct s80085320_s* prev;
|
||||
/* 0x08 */ UNK_TYPE* unk8;
|
||||
/* 0x0C */ UNK_TYPE* unkC;
|
||||
/* 0x10 */ UNK_TYPE unk10;
|
||||
/* 0x14 */ UNK_TYPE unk14;
|
||||
/* 0x18 */ UNK_TYPE* unk18;
|
||||
} s80085320;
|
||||
|
||||
struct s8008A6FC {
|
||||
/* 00 */ UNK_TYPE unk0;
|
||||
/* 04 */ UNK_TYPE unk4;
|
||||
/* 08 */ UNK_TYPE unk8;
|
||||
/* 12 */ UNK_TYPE unk12;
|
||||
};
|
||||
typedef struct {
|
||||
/* 0x0 */ UNK_TYPE unk0;
|
||||
/* 0x4 */ UNK_TYPE unk4;
|
||||
/* 0x8 */ UNK_TYPE unk8;
|
||||
/* 0xC */ UNK_TYPE unkC;
|
||||
} s8008A6FC;
|
||||
|
||||
// TODO this should extend from z_Actor
|
||||
struct s800A5AC0 {
|
||||
/* 000 */ u8 pad0[28];
|
||||
/* 028 */ s16 unk28;
|
||||
/* 030 */ u8 pad1[116];
|
||||
/* 146 */ s16 unk146;
|
||||
/* 148 */ u8 pad2[34];
|
||||
/* 182 */ u8 unk182;
|
||||
/* 183 */ u8 pad4[5];
|
||||
/* 188 */ u16 unk188; // or char
|
||||
/* 190 */ s16 unk190;
|
||||
/* 192 */ u8 pad5[86];
|
||||
/* 278 */ u16 unk278;
|
||||
/* 280 */ u8 pad6[44];
|
||||
/* 324 */ void(*unk324)(struct s800A5AC0*, UNK_TYPE);
|
||||
/* 328 */ UNK_TYPE unk328;
|
||||
};
|
||||
typedef struct s800A5AC0_s {
|
||||
/* 0x000 */ u8 pad0[0x1C];
|
||||
/* 0x01C */ s16 unk1C;
|
||||
/* 0x01E */ u8 pad1[0x74];
|
||||
/* 0x092 */ s16 unk92;
|
||||
/* 0x094 */ u8 pad2[0x22];
|
||||
/* 0x0B6 */ u8 unkB6;
|
||||
/* 0x0B7 */ u8 pad4[5];
|
||||
/* 0x0BC */ u16 unkBC; // or char
|
||||
/* 0x0BE */ s16 unkBE;
|
||||
/* 0x0C0 */ u8 pad5[0x56];
|
||||
/* 0x116 */ u16 unk116;
|
||||
/* 0x118 */ u8 pad6[0x2C];
|
||||
/* 0x144 */ void(*unk144)(struct s800A5AC0_s*, UNK_TYPE);
|
||||
/* 0x148 */ UNK_TYPE unk148;
|
||||
} s800A5AC0;
|
||||
|
||||
typedef struct s800BF9A0_s {
|
||||
/* 000 */ u8 pad0[8];
|
||||
/* 008 */ UNK_TYPE unk8;
|
||||
/* 012 */ UNK_TYPE unk12;
|
||||
/* 016 */ u32 unk16;
|
||||
/* 020 */ u8 pad1[10];
|
||||
/* 030 */ s8 unk30;
|
||||
/* 031 */ u8 pad2[1];
|
||||
} s800BF9A0_s;
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 pad0[8];
|
||||
/* 0x08 */ UNK_TYPE unk8;
|
||||
/* 0x0C */ UNK_TYPE unkC;
|
||||
/* 0x10 */ u32 unk10;
|
||||
/* 0x14 */ u8 pad1[0xA];
|
||||
/* 0x1E */ s8 unk1E;
|
||||
/* 0x1F */ u8 pad2[1];
|
||||
} s800BF9A0;
|
||||
|
||||
typedef struct s800CAAD0_s {
|
||||
/* 000 */ UNK_TYPE unk0;
|
||||
/* 004 */ UNK_TYPE unk4;
|
||||
/* 008 */ UNK_TYPE unk8;
|
||||
/* 012 */ u8 pad0[92];
|
||||
/* 104 */ UNK_TYPE unk104;
|
||||
/* 108 */ UNK_TYPE unk108;
|
||||
/* 112 */ UNK_TYPE unk112;
|
||||
/* 116 */ u16 unk116;
|
||||
/* 118 */ u16 unk118;
|
||||
/* 120 */ u16 unk120;
|
||||
/* 122 */ u8 pad1[2];
|
||||
/* 124 */ f32 unk124;
|
||||
/* 128 */ f32 unk128;
|
||||
/* 132 */ f32 unk132;
|
||||
/* 136 */ UNK_TYPE unk136;
|
||||
/* 140 */ UNK_TYPE unk140;
|
||||
/* 144 */ UNK_TYPE unk144;
|
||||
/* 148 */ u16 unk148;
|
||||
/* 150 */ u16 unk150;
|
||||
/* 152 */ u16 unk152;
|
||||
/* 154 */ u8 pad2[2];
|
||||
/* 156 */ f32 unk156;
|
||||
/* 160 */ f32 unk160;
|
||||
/* 164 */ f32 unk164;
|
||||
typedef struct {
|
||||
/* 0x00 */ UNK_TYPE unk0;
|
||||
/* 0x04 */ UNK_TYPE unk4;
|
||||
/* 0x08 */ UNK_TYPE unk8;
|
||||
/* 0x12 */ u8 pad0[0x5C];
|
||||
/* 0x68 */ UNK_TYPE unk68;
|
||||
/* 0x6C */ UNK_TYPE unk6C;
|
||||
/* 0x70 */ UNK_TYPE unk70;
|
||||
/* 0x72 */ u16 unk72;
|
||||
/* 0x74 */ u16 unk74;
|
||||
/* 0x76 */ u16 unk76;
|
||||
/* 0x78 */ u8 pad1[2];
|
||||
/* 0x7C */ f32 unk7C;
|
||||
/* 0x80 */ f32 unk80;
|
||||
/* 0x84 */ f32 unk84;
|
||||
/* 0x88 */ UNK_TYPE unk88;
|
||||
/* 0x8C */ UNK_TYPE unk8C;
|
||||
/* 0x90 */ UNK_TYPE unk90;
|
||||
/* 0x94 */ u16 unk94;
|
||||
/* 0x96 */ u16 unk96;
|
||||
/* 0x98 */ u16 unk98;
|
||||
/* 0x9A */ u8 pad2[2];
|
||||
/* 0x9C */ f32 unk9C;
|
||||
/* 0xA0 */ f32 unkA0;
|
||||
/* 0xA4 */ f32 unkA4;
|
||||
} s800CAAD0;
|
||||
|
||||
typedef struct s800E03A0_s {
|
||||
/* 000 */ u8 pad[32];
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 pad[0x20];
|
||||
} s800E03A0;
|
||||
|
||||
// Entries in dmadata
|
||||
typedef struct {
|
||||
/* 000 */ u32 vromStart;
|
||||
/* 004 */ u32 vromEnd;
|
||||
/* 008 */ u32 romStart;
|
||||
/* 012 */ u32 romEnd;
|
||||
/* 0x0 */ u32 vromStart;
|
||||
/* 0x4 */ u32 vromEnd;
|
||||
/* 0x8 */ u32 romStart;
|
||||
/* 0xC */ u32 romEnd;
|
||||
} DmadataEntry;
|
||||
|
||||
typedef struct s80080A08_s {
|
||||
/* 000 */ UNK_PTR unk0;
|
||||
/* 004 */ UNK_FUN_PTR(unk4);
|
||||
/* 008 */ UNK_TYPE unk8;
|
||||
/* 012 */ u8 pad1[8];
|
||||
/* 020 */ UNK_TYPE unk20;
|
||||
/* 024 */ OSMesgQueue* unk24;
|
||||
/* 028 */ UNK_TYPE unk28;
|
||||
typedef struct {
|
||||
/* 0x00 */ UNK_PTR unk0;
|
||||
/* 0x04 */ UNK_FUN_PTR(unk4);
|
||||
/* 0x08 */ UNK_TYPE unk8;
|
||||
/* 0x0C */ u8 pad1[8];
|
||||
/* 0x14 */ UNK_TYPE unk14;
|
||||
/* 0x18 */ OSMesgQueue* unk18;
|
||||
/* 0x1C */ UNK_TYPE unk1C;
|
||||
} s80080A08;
|
||||
|
||||
// This struct is huge! Global context?
|
||||
typedef struct s800F4F54_s {
|
||||
/* 00000 */ u8 pad[92152];
|
||||
/* 92152 */ u8 unk92152;
|
||||
typedef struct {
|
||||
/* 0x00000 */ u8 pad[0x167F8];
|
||||
/* 0x167F8 */ u8 unk167F8;
|
||||
} s800F4F54;
|
||||
|
||||
typedef struct {
|
||||
@@ -116,34 +116,34 @@ struct z_Actor;
|
||||
typedef void(*z_ActorFunc)(struct z_Actor*, void*);
|
||||
|
||||
typedef struct {
|
||||
/* 000 */ u8 pad0[4];
|
||||
/* 004 */ UNK_TYPE unk4;
|
||||
/* 008 */ u8 pad1[20];
|
||||
/* 028 */ s16 unk28;
|
||||
/* 030 */ u8 pad2[58];
|
||||
/* 088 */ z_Vector3D unk088; // scale?
|
||||
/* 100 */ u8 pad3[46];
|
||||
/* 146 */ s16 unk146;
|
||||
/* 148 */ u8 pad4[34];
|
||||
/* 182 */ u8 unk182;
|
||||
/* 183 */ u8 pad5[5];
|
||||
/* 188 */ u16 unk188; // or char
|
||||
/* 190 */ s16 unk190;
|
||||
/* 192 */ u8 pad6[60];
|
||||
/* 252 */ f32 unk252; // start of z_Vector3D?
|
||||
/* 256 */ f32 unk256;
|
||||
/* 260 */ f32 unk260;
|
||||
/* 264 */ u8 pad7[14];
|
||||
/* 278 */ u16 unk278;
|
||||
/* 280 */ u8 pad8[36];
|
||||
/* 316 */ z_ActorFunc drawFunc;
|
||||
/* 320 */ u8 pad9[4];
|
||||
/* 0x000 */ u8 pad0[4];
|
||||
/* 0x004 */ UNK_TYPE unk4;
|
||||
/* 0x008 */ u8 pad1[0x14];
|
||||
/* 0x01C */ s16 unk1C;
|
||||
/* 0x01E */ u8 pad2[0x3A];
|
||||
/* 0x058 */ z_Vector3D unk58; // scale?
|
||||
/* 0x064 */ u8 pad3[0x2E];
|
||||
/* 0x092 */ s16 unk92;
|
||||
/* 0x094 */ u8 pad4[0x22];
|
||||
/* 0x0B6 */ u8 unkB6;
|
||||
/* 0x0B7 */ u8 pad5[5];
|
||||
/* 0x0BC */ u16 unkBC; // or char
|
||||
/* 0x0BE */ s16 unkBE;
|
||||
/* 0x0C0 */ u8 pad6[0x3C];
|
||||
/* 0x0FC */ f32 unkFC; // start of z_Vector3D?
|
||||
/* 0x100 */ f32 unk100;
|
||||
/* 0x104 */ f32 unk104;
|
||||
/* 0x108 */ u8 pad7[0xE];
|
||||
/* 0x116 */ u16 unk116;
|
||||
/* 0x118 */ u8 pad8[0x24];
|
||||
/* 0x13C */ z_ActorFunc drawFunc;
|
||||
/* 0x140 */ u8 pad9[4];
|
||||
// TODO figure out what size this is
|
||||
} z_Actor;
|
||||
|
||||
typedef struct s80BD5530_s {
|
||||
/* 000000 */ u8 pad[100484];
|
||||
/* 100484 */ UNK_TYPE unk100484;
|
||||
/* 0x00000 */ u8 pad[0x18884];
|
||||
/* 0x18884 */ UNK_TYPE unk18884;
|
||||
} z_GlobalContext;
|
||||
|
||||
typedef struct {
|
||||
@@ -173,26 +173,26 @@ typedef struct {
|
||||
typedef long Mtx_t[4][4];
|
||||
|
||||
typedef union {
|
||||
/* 0 */ Mtx_t m;
|
||||
/* 0 */ long long force_structure_alignment;
|
||||
/* 0x0 */ Mtx_t m;
|
||||
/* 0x0 */ long long force_structure_alignment;
|
||||
} Mtx;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ int quot;
|
||||
/* 4 */ int rem;
|
||||
/* 0x0 */ int quot;
|
||||
/* 0x4 */ int rem;
|
||||
} div_t;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ long quot;
|
||||
/* 4 */ long rem;
|
||||
/* 0x0 */ long quot;
|
||||
/* 0x4 */ long rem;
|
||||
} ldiv_t;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ long long quot;
|
||||
/* 8 */ long long rem;
|
||||
/* 0x0 */ long long quot;
|
||||
/* 0x8 */ long long rem;
|
||||
} lldiv_t;
|
||||
|
||||
typedef unsigned int size_t;
|
||||
@@ -200,22 +200,22 @@ typedef unsigned int size_t;
|
||||
typedef double ldouble;
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ union {
|
||||
/* 0 */ long long ll;
|
||||
/* 0 */ ldouble ld;
|
||||
/* 0x0 */ union {
|
||||
/* 0x0 */ long long ll;
|
||||
/* 0x0 */ ldouble ld;
|
||||
} v;
|
||||
/* 8 */ unsigned char* s;
|
||||
/* 12 */ int n0;
|
||||
/* 16 */ int nz0;
|
||||
/* 20 */ int n1;
|
||||
/* 24 */ int nz1;
|
||||
/* 28 */ int n2;
|
||||
/* 32 */ int nz2;
|
||||
/* 36 */ int prec;
|
||||
/* 40 */ int width;
|
||||
/* 44 */ size_t nchar;
|
||||
/* 48 */ unsigned int flags;
|
||||
/* 52 */ unsigned char qual;
|
||||
/* 0x8 */ unsigned char* s;
|
||||
/* 0xC */ int n0;
|
||||
/* 0x10 */ int nz0;
|
||||
/* 0x14 */ int n1;
|
||||
/* 0x18 */ int nz1;
|
||||
/* 0x1C */ int n2;
|
||||
/* 0x20 */ int nz2;
|
||||
/* 0x24 */ int prec;
|
||||
/* 0x28 */ int width;
|
||||
/* 0x2C */ size_t nchar;
|
||||
/* 0x30 */ unsigned int flags;
|
||||
/* 0x34 */ unsigned char qual;
|
||||
} _Pft;
|
||||
|
||||
#endif
|
||||
|
||||
+11
-11
@@ -4,25 +4,25 @@
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 magic;
|
||||
/* 4 */ u32 len;
|
||||
/* 8 */ u32* base;
|
||||
/* 12 */ s32 startCount;
|
||||
/* 16 */ s32 writeOffset;
|
||||
/* 0x0 */ u32 magic;
|
||||
/* 0x4 */ u32 len;
|
||||
/* 0x8 */ u32* base;
|
||||
/* 0xC */ s32 startCount;
|
||||
/* 0x10 */ s32 writeOffset;
|
||||
} OSLog;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 magic;
|
||||
/* 4 */ u32 timeStamp;
|
||||
/* 8 */ u16 argCount;
|
||||
/* 10 */ u16 eventID;
|
||||
/* 0x0 */ u32 magic;
|
||||
/* 0x4 */ u32 timeStamp;
|
||||
/* 0x8 */ u16 argCount;
|
||||
/* 0xA */ u16 eventID;
|
||||
} OSLogItem;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u32 magic;
|
||||
/* 4 */ u32 version;
|
||||
/* 0x0 */ u32 magic;
|
||||
/* 0x4 */ u32 version;
|
||||
} OSLogFileHdr;
|
||||
|
||||
#endif
|
||||
|
||||
+10
-10
@@ -834,7 +834,7 @@ extern UNK_TYPE D_00C7A4E0; // D_00C7A4E0
|
||||
//extern UNK_TYPE D_060010E0;
|
||||
//extern UNK_TYPE D_060010F0;
|
||||
//extern UNK_TYPE D_060010F4;
|
||||
//extern UNK_TYPE D_06001100;
|
||||
extern UNK_TYPE D_06001100;
|
||||
//extern UNK_TYPE D_06001118;
|
||||
//extern UNK_TYPE D_06001140;
|
||||
//extern UNK_TYPE D_06001158;
|
||||
@@ -853,7 +853,7 @@ extern UNK_TYPE D_00C7A4E0; // D_00C7A4E0
|
||||
//extern UNK_TYPE D_06001210;
|
||||
//extern UNK_TYPE D_06001214;
|
||||
//extern UNK_TYPE D_06001220;
|
||||
//extern UNK_TYPE D_06001228;
|
||||
extern UNK_TYPE D_06001228;
|
||||
//extern UNK_TYPE D_06001254;
|
||||
//extern UNK_TYPE D_06001290;
|
||||
//extern UNK_TYPE D_06001298;
|
||||
@@ -1888,8 +1888,8 @@ extern UNK_TYPE* D_80096B60; // D_80096B60
|
||||
//extern UNK_TYPE D_80096BE4;
|
||||
//extern UNK_TYPE D_80096C20;
|
||||
//extern UNK_TYPE D_80096C30;
|
||||
extern struct s80085320* g_s80085320_ListHead; // D_80096C40
|
||||
extern struct s80085320* g_s80085320_ListTail; // D_80096C44
|
||||
extern s80085320* g_s80085320_ListHead; // D_80096C40
|
||||
extern s80085320* g_s80085320_ListTail; // D_80096C44
|
||||
//extern UNK_TYPE D_80096C50;
|
||||
//extern UNK_TYPE D_80096CD0;
|
||||
//extern UNK_TYPE D_80096CF0;
|
||||
@@ -2094,22 +2094,22 @@ extern UNK_TYPE leoDiskStack; // D_80099290
|
||||
//extern UNK_TYPE D_800994C8;
|
||||
extern UNK_TYPE D_800994D0; // D_800994D0
|
||||
extern UNK_TYPE D_800994DC; // D_800994DC
|
||||
extern struct s80085320 D_80099500; // D_80099500
|
||||
extern s80085320 D_80099500; // D_80099500
|
||||
extern OSThread D_80099520; // D_80099520
|
||||
extern UNK_TYPE D_800996D0; // D_800996D0
|
||||
extern struct s80085320 D_80099AD0; // D_80099AD0
|
||||
extern s80085320 D_80099AD0; // D_80099AD0
|
||||
extern UNK_TYPE D_80099AF0; // D_80099AF0
|
||||
extern UNK_TYPE D_80099EF0; // D_80099EF0
|
||||
extern UNK_TYPE D_8009A170; // D_8009A170
|
||||
extern struct s80085320 D_8009A670; // D_8009A670
|
||||
extern s80085320 D_8009A670; // D_8009A670
|
||||
extern UNK_TYPE D_8009A690; // D_8009A690
|
||||
extern UNK_TYPE D_8009A840; // D_8009A840
|
||||
extern struct s80085320 D_8009B140; // D_8009B140
|
||||
extern s80085320 D_8009B140; // D_8009B140
|
||||
extern UNK_TYPE D_8009B160; // D_8009B160
|
||||
extern UNK_TYPE D_8009B228; // D_8009B228
|
||||
extern u32* D_8009B240; // D_8009B240
|
||||
extern u8 D_8009B290; // D_8009B290
|
||||
extern struct s80085320 D_8009B2A0; // D_8009B2A0
|
||||
extern s80085320 D_8009B2A0; // D_8009B2A0
|
||||
extern u16 D_8009B2BC; // D_8009B2BC
|
||||
extern OSMesgQueue D_8009B2C0; // D_8009B2C0
|
||||
extern UNK_TYPE D_8009B2D8; // D_8009B2D8
|
||||
@@ -2278,7 +2278,7 @@ extern int D_801ADEB0[]; // D_801ADEB0
|
||||
//extern UNK_TYPE D_801AEFB8;
|
||||
//extern UNK_TYPE D_801AEFBC;
|
||||
//extern UNK_TYPE D_801AEFC0;
|
||||
extern s800BF9A0_s D_801AEFD0; // D_801AEFD0
|
||||
extern s800BF9A0 D_801AEFD0; // D_801AEFD0
|
||||
//extern UNK_TYPE D_801AEFE0;
|
||||
//extern UNK_TYPE D_801AEFE4;
|
||||
//extern UNK_TYPE D_801AEFEE;
|
||||
|
||||
+12
-12
@@ -7,22 +7,22 @@
|
||||
#include <os.h>
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ f32 factor;
|
||||
/* 4 */ u16 offset;
|
||||
/* 8 */ u32 scale;
|
||||
/* 0x0 */ f32 factor;
|
||||
/* 0x4 */ u16 offset;
|
||||
/* 0x8 */ u32 scale;
|
||||
} __OSViScale;
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* 0 */ u16 state;
|
||||
/* 2 */ u16 retraceCount;
|
||||
/* 4 */ void* framep;
|
||||
/* 8 */ OSViMode* modep;
|
||||
/* 12 */ u32 control;
|
||||
/* 16 */ OSMesgQueue* msgq;
|
||||
/* 20 */ OSMesg msg;
|
||||
/* 24 */ __OSViScale x;
|
||||
/* 36 */ __OSViScale y;
|
||||
/* 0x0 */ u16 state;
|
||||
/* 0x2 */ u16 retraceCount;
|
||||
/* 0x4 */ void* framep;
|
||||
/* 0x8 */ OSViMode* modep;
|
||||
/* 0xC */ u32 control;
|
||||
/* 0x10 */ OSMesgQueue* msgq;
|
||||
/* 0x14 */ OSMesg msg;
|
||||
/* 0x18 */ __OSViScale x;
|
||||
/* 0x24 */ __OSViScale y;
|
||||
} __OSViContext;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user