1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-30 08:24:05 +00:00

Mask RDRAM address in ProcessRDPList

Avoids a crash in Donkey Kong 64 (U) [f2]
This commit is contained in:
Logan 2020-03-28 19:48:37 -06:00 committed by Sergey Lipskiy
parent 225f1414dc
commit 3f55f30ea2

View File

@ -564,7 +564,7 @@ inline u32 READ_RDP_DATA(u32 address)
if (dp_status & 0x1) // XBUS_DMEM_DMA enabled
return rsp_dmem[(address & 0xfff)>>2];
else
return rdram[address>>2];
return rdram[(address & 0xffffff)>>2];
}
void RDP_ProcessRDPList()