mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
![Sergey Lipskiy](/assets/img/avatar_default.png)
Several games use non-standart value for depth buffer clear. This value must be known beforehand for correct emulation. Fixed NFL Quarterback Club 2000: gfx screwed up #148
27 lines
537 B
C
27 lines
537 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;
|
|
s32 count;
|
|
bool bLLE;
|
|
char romname[21];
|
|
wchar_t pluginpath[PLUGIN_PATH_SIZE];
|
|
} RSPInfo;
|
|
|
|
extern RSPInfo RSP;
|
|
|
|
extern u32 DepthClearColor;
|
|
|
|
#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 );
|
|
void RSP_CheckDLCounter();
|
|
|
|
#endif
|