mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
gDPFullSync(): add check, that buffer copied to RDRAM is not auxiliary one.
Fixed shadows in JFG.
This commit is contained in:
parent
731e5c259e
commit
5f7cdb4cb4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user