mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
fix depth buffer copy in LLE
in LLE it works well for Star Wars Episode I - Racer but for most games it does not work correctly
This commit is contained in:
parent
dbfbeb1b13
commit
77f342fc63
|
@ -204,10 +204,6 @@ void RSP_ProcessDList()
|
||||||
RSP_CheckDLCounter();
|
RSP_CheckDLCounter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.frameBufferEmulation.copyDepthToRDRAM)
|
|
||||||
FrameBuffer_CopyDepthBuffer( gDP.colorImage.address );
|
|
||||||
|
|
||||||
RSP.busy = FALSE;
|
RSP.busy = FALSE;
|
||||||
gDP.changed |= CHANGED_COLORBUFFER;
|
gDP.changed |= CHANGED_COLORBUFFER;
|
||||||
}
|
}
|
||||||
|
|
|
@ -882,6 +882,8 @@ void gDPFullSync()
|
||||||
{
|
{
|
||||||
if (config.frameBufferEmulation.copyToRDRAM)
|
if (config.frameBufferEmulation.copyToRDRAM)
|
||||||
FrameBuffer_CopyToRDRAM(gDP.colorImage.address);
|
FrameBuffer_CopyToRDRAM(gDP.colorImage.address);
|
||||||
|
if (config.frameBufferEmulation.copyDepthToRDRAM)
|
||||||
|
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
|
||||||
|
|
||||||
*REG.MI_INTR |= MI_INTR_DP;
|
*REG.MI_INTR |= MI_INTR_DP;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user