Making some TRK progress (#564)
This commit is contained in:
parent
64f087c2c9
commit
66a9a044fa
12 changed files with 434 additions and 139 deletions
|
|
@ -254,6 +254,9 @@ typedef struct ProcessorRestoreFlags_PPC {
|
|||
|
||||
void TRKSaveExtended1Block();
|
||||
|
||||
void SetUseSerialIO(u8);
|
||||
u8 GetUseSerialIO(void);
|
||||
|
||||
#define SPR_XER 1
|
||||
#define SPR_LR 8
|
||||
#define SPR_CTR 9
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ typedef struct _TRK_Msg {
|
|||
u8 _00[8];
|
||||
u32 m_msgLength;
|
||||
u32 _0C;
|
||||
u32 m_msg;
|
||||
u8 m_msg[4]; // TODO: unknown array length
|
||||
} TRK_Msg;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ DSError TRKInitializeMessageBuffers(void);
|
|||
|
||||
DSError TRKSetBufferPosition(TRKBuffer* msg, u32 pos);
|
||||
void* TRKGetBuffer(int);
|
||||
void TRKResetBuffer(TRKBuffer* msg, BOOL keepData);
|
||||
void TRKResetBuffer(TRKBuffer* msg, u8 keepData);
|
||||
void* TRKGetBuffer(int idx);
|
||||
void TRKReleaseBuffer(int idx);
|
||||
DSError TRKGetFreeBuffer(int* msgID, TRKBuffer** outMsg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue