2013-04-05 06:13:26 +00:00
|
|
|
#ifndef RSP_H
|
|
|
|
#define RSP_H
|
|
|
|
|
|
|
|
#include "Types.h"
|
2015-11-23 13:27:16 +00:00
|
|
|
#include "N64.h"
|
2013-04-05 06:13:26 +00:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2015-10-16 15:42:35 +00:00
|
|
|
u32 PC[18], PCi, busy, halt, close, uc_start, uc_dstart, cmd, nextCmd;
|
2014-10-06 16:01:45 +00:00
|
|
|
s32 count;
|
2014-10-07 10:59:54 +00:00
|
|
|
bool bLLE;
|
2014-10-17 04:49:22 +00:00
|
|
|
char romname[21];
|
2014-11-28 07:34:32 +00:00
|
|
|
wchar_t pluginpath[PLUGIN_PATH_SIZE];
|
2013-04-05 06:13:26 +00:00
|
|
|
} RSPInfo;
|
|
|
|
|
|
|
|
extern RSPInfo RSP;
|
|
|
|
|
2015-03-05 13:43:32 +00:00
|
|
|
extern u32 DepthClearColor;
|
|
|
|
|
2015-05-05 13:54:18 +00:00
|
|
|
#define RSP_SegmentToPhysical( segaddr ) ((gSP.segment[(segaddr >> 24) & 0x0F] + (segaddr & RDRAMSize)) & RDRAMSize)
|
2013-04-05 06:13:26 +00:00
|
|
|
|
|
|
|
void RSP_Init();
|
|
|
|
void RSP_ProcessDList();
|
|
|
|
void RSP_LoadMatrix( f32 mtx[4][4], u32 address );
|
2014-10-06 16:01:45 +00:00
|
|
|
void RSP_CheckDLCounter();
|
2013-04-05 06:13:26 +00:00
|
|
|
|
|
|
|
#endif
|