1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Correct RSP_SegmentToPhysical

Fixed Glover crash after intro #474
This commit is contained in:
Sergey Lipskiy 2015-05-05 19:54:18 +06:00
parent bbc71c3f0a
commit e8d8ee93e4

View File

@ -16,7 +16,7 @@ extern RSPInfo RSP;
extern u32 DepthClearColor;
#define RSP_SegmentToPhysical( segaddr ) ((gSP.segment[(segaddr >> 24) & 0x0F] + (segaddr & 0x00FFFFFF)) & 0x00FFFFFF)
#define RSP_SegmentToPhysical( segaddr ) ((gSP.segment[(segaddr >> 24) & 0x0F] + (segaddr & RDRAMSize)) & RDRAMSize)
void RSP_Init();
void RSP_ProcessDList();