mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
20 lines
406 B
C
20 lines
406 B
C
![]() |
#ifndef RSP_H
|
||
|
#define RSP_H
|
||
|
|
||
|
#include "Types.h"
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
u32 PC[18], PCi, busy, halt, close, DList, uc_start, uc_dstart, cmd, nextCmd, count;
|
||
|
} RSPInfo;
|
||
|
|
||
|
extern RSPInfo RSP;
|
||
|
|
||
|
#define RSP_SegmentToPhysical( segaddr ) ((gSP.segment[(segaddr >> 24) & 0x0F] + (segaddr & 0x00FFFFFF)) & 0x00FFFFFF)
|
||
|
|
||
|
void RSP_Init();
|
||
|
void RSP_ProcessDList();
|
||
|
void RSP_LoadMatrix( f32 mtx[4][4], u32 address );
|
||
|
|
||
|
#endif
|