mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 21:00:55 -04:00
TRK work
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "dolphin/types.h"
|
||||
|
||||
typedef struct TRKBuffer {
|
||||
u8 _00[4];
|
||||
u32 _00;
|
||||
u32 _04;
|
||||
s32 _08;
|
||||
u32 _0C;
|
||||
|
||||
@@ -3,4 +3,17 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
typedef struct TRKEventQueue {
|
||||
s32 _00;
|
||||
s32 _04;
|
||||
s32 _08;
|
||||
s32 _0C;
|
||||
s32 _10;
|
||||
s32 _14;
|
||||
s32 _18;
|
||||
s32 _1C;
|
||||
s32 _20;
|
||||
u32 _24;
|
||||
} TRKEventQueue;
|
||||
|
||||
#endif /* METROTRK_PORTABLE_NUBEVENT_H */
|
||||
|
||||
@@ -6,4 +6,21 @@
|
||||
void TRKSwapAndGo();
|
||||
void TRKTargetSetStopped(s32);
|
||||
|
||||
typedef struct TRKState {
|
||||
/* 0x00 */ u32 field_0x00[35];
|
||||
/* 0x8C */ u32 msr;
|
||||
/* 0x90 */ u32 field_0x90[2];
|
||||
/* 0x98 */ u32 target;
|
||||
/* 0x9C */ u32 field_0x9C;
|
||||
/* 0xA0 */ void* inputPendingPtr;
|
||||
} TRKState;
|
||||
TRKState gTRKState;
|
||||
|
||||
typedef struct TRKCPUState {
|
||||
/* 0x00 */ u32 field_0x00[32];
|
||||
/* 0x80 */ u32 pc;
|
||||
/* 0x84 */ u32 field_0x84[235];
|
||||
} TRKCPUState;
|
||||
TRKCPUState gTRKCPUState;
|
||||
|
||||
#endif /* PPC_GENERIC_TARGIMPL_H */
|
||||
|
||||
Reference in New Issue
Block a user