mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fig regression with frame/depth buffer copy in HLE mode caused by commit 77f342f
.
This commit is contained in:
parent
5eddea5baf
commit
c6988bb963
|
@ -204,6 +204,12 @@ void RSP_ProcessDList()
|
||||||
RSP_CheckDLCounter();
|
RSP_CheckDLCounter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.frameBufferEmulation.copyToRDRAM)
|
||||||
|
FrameBuffer_CopyToRDRAM(gDP.colorImage.address);
|
||||||
|
if (config.frameBufferEmulation.copyDepthToRDRAM)
|
||||||
|
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
|
||||||
|
|
||||||
RSP.busy = FALSE;
|
RSP.busy = FALSE;
|
||||||
gDP.changed |= CHANGED_COLORBUFFER;
|
gDP.changed |= CHANGED_COLORBUFFER;
|
||||||
}
|
}
|
||||||
|
|
10
src/gDP.cpp
10
src/gDP.cpp
|
@ -880,10 +880,12 @@ void gDPTextureRectangleFlip( f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, f32
|
||||||
|
|
||||||
void gDPFullSync()
|
void gDPFullSync()
|
||||||
{
|
{
|
||||||
if (config.frameBufferEmulation.copyToRDRAM)
|
if (RSP.bLLE) {
|
||||||
FrameBuffer_CopyToRDRAM(gDP.colorImage.address);
|
if (config.frameBufferEmulation.copyToRDRAM)
|
||||||
if (config.frameBufferEmulation.copyDepthToRDRAM)
|
FrameBuffer_CopyToRDRAM(gDP.colorImage.address);
|
||||||
FrameBuffer_CopyDepthBuffer(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