1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +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:
purplemarshmallow 2015-07-14 10:09:09 +02:00 committed by Sergey Lipskiy
parent dbfbeb1b13
commit 77f342fc63
2 changed files with 2 additions and 4 deletions

View File

@ -204,10 +204,6 @@ void RSP_ProcessDList()
RSP_CheckDLCounter();
}
}
if (config.frameBufferEmulation.copyDepthToRDRAM)
FrameBuffer_CopyDepthBuffer( gDP.colorImage.address );
RSP.busy = FALSE;
gDP.changed |= CHANGED_COLORBUFFER;
}

View File

@ -882,6 +882,8 @@ void gDPFullSync()
{
if (config.frameBufferEmulation.copyToRDRAM)
FrameBuffer_CopyToRDRAM(gDP.colorImage.address);
if (config.frameBufferEmulation.copyDepthToRDRAM)
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
*REG.MI_INTR |= MI_INTR_DP;