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

Zelda subscreen hack always enables copy color to RDRAM

This commit is contained in:
Francisco Zurita 2016-10-19 00:05:30 -04:00
parent 48c8c25226
commit e5f89406b7
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ void VI_UpdateScreen()
gDP.changed |= CHANGED_CPU_FB_WRITE;
else if (!FBInfo::fbInfo.isSupported() && !pBuffer->isValid(true)) {
gDP.changed |= CHANGED_CPU_FB_WRITE;
if (config.frameBufferEmulation.copyToRDRAM == 0)
if (config.frameBufferEmulation.copyToRDRAM == 0 && (config.generalEmulation.hacks & hack_subscreen) == 0)
pBuffer->copyRdram();
}

View File

@ -899,7 +899,7 @@ void gDPFullSync()
video().getRender().flush();
const bool sync = config.frameBufferEmulation.copyToRDRAM == Config::ctSync;
if (config.frameBufferEmulation.copyToRDRAM != Config::ctDisable &&
if ((config.frameBufferEmulation.copyToRDRAM != Config::ctDisable || (config.generalEmulation.hacks & hack_subscreen) != 0) &&
!FBInfo::fbInfo.isSupported() &&
frameBufferList().getCurrent() != nullptr &&
!frameBufferList().getCurrent()->isAuxiliary()