diff --git a/src/RSP.cpp b/src/RSP.cpp index 72cadbd6..432a953f 100644 --- a/src/RSP.cpp +++ b/src/RSP.cpp @@ -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; } diff --git a/src/gDP.cpp b/src/gDP.cpp index de65770c..c953220c 100644 --- a/src/gDP.cpp +++ b/src/gDP.cpp @@ -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;