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

gDPFullSync(): add check, that buffer copied to RDRAM is not auxiliary one.

Fixed shadows in JFG.
This commit is contained in:
Sergey Lipskiy 2016-04-17 15:31:59 +06:00
parent 731e5c259e
commit 5f7cdb4cb4

View File

@ -900,7 +900,11 @@ void gDPFullSync()
}
const bool sync = config.frameBufferEmulation.copyToRDRAM == Config::ctSync;
if (config.frameBufferEmulation.copyToRDRAM != Config::ctDisable && !FBInfo::fbInfo.isSupported())
if (config.frameBufferEmulation.copyToRDRAM != Config::ctDisable &&
!FBInfo::fbInfo.isSupported() &&
frameBufferList().getCurrent() != nullptr &&
!frameBufferList().getCurrent()->isAuxiliary()
)
FrameBuffer_CopyToRDRAM(gDP.colorImage.address, sync);
if (RSP.bLLE) {