From dbfbeb1b134471fb2e2f3d4c73f5ce0602c94170 Mon Sep 17 00:00:00 2001 From: purplemarshmallow Date: Mon, 13 Jul 2015 20:27:40 +0200 Subject: [PATCH] fix copy color to RDRAM in LLE fixes #554 --- src/RSP.cpp | 2 -- src/gDP.cpp | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/RSP.cpp b/src/RSP.cpp index 688c4abe..72cadbd6 100644 --- a/src/RSP.cpp +++ b/src/RSP.cpp @@ -205,8 +205,6 @@ void RSP_ProcessDList() } } - if (config.frameBufferEmulation.copyToRDRAM) - FrameBuffer_CopyToRDRAM( gDP.colorImage.address ); if (config.frameBufferEmulation.copyDepthToRDRAM) FrameBuffer_CopyDepthBuffer( gDP.colorImage.address ); diff --git a/src/gDP.cpp b/src/gDP.cpp index 5772623e..de65770c 100644 --- a/src/gDP.cpp +++ b/src/gDP.cpp @@ -880,6 +880,9 @@ void gDPTextureRectangleFlip( f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, f32 void gDPFullSync() { + if (config.frameBufferEmulation.copyToRDRAM) + FrameBuffer_CopyToRDRAM(gDP.colorImage.address); + *REG.MI_INTR |= MI_INTR_DP; CheckInterrupts();