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

Fig regression with frame/depth buffer copy in HLE mode caused by commit 77f342f.

This commit is contained in:
Sergey Lipskiy 2015-08-27 19:39:29 +06:00
parent 5eddea5baf
commit c6988bb963
2 changed files with 12 additions and 4 deletions

View File

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

View File

@ -880,10 +880,12 @@ void gDPTextureRectangleFlip( f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, f32
void gDPFullSync()
{
if (config.frameBufferEmulation.copyToRDRAM)
FrameBuffer_CopyToRDRAM(gDP.colorImage.address);
if (config.frameBufferEmulation.copyDepthToRDRAM)
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
if (RSP.bLLE) {
if (config.frameBufferEmulation.copyToRDRAM)
FrameBuffer_CopyToRDRAM(gDP.colorImage.address);
if (config.frameBufferEmulation.copyDepthToRDRAM)
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
}
*REG.MI_INTR |= MI_INTR_DP;