1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

improve cfb detection

this fixes flickering in Conker's BFD it's war cutscene
This commit is contained in:
purplemarshmallow 2015-12-14 19:23:49 +01:00
parent aeda4bf410
commit 8faa7a7372

View File

@ -113,7 +113,8 @@ void VI_UpdateScreen()
gDP.changed |= CHANGED_CPU_FB_WRITE; gDP.changed |= CHANGED_CPU_FB_WRITE;
else if (!pBuffer->isValid()) { else if (!pBuffer->isValid()) {
gDP.changed |= CHANGED_CPU_FB_WRITE; gDP.changed |= CHANGED_CPU_FB_WRITE;
frameBufferList().removeBuffer(pBuffer->m_startAddress); if (config.frameBufferEmulation.copyToRDRAM == 0)
pBuffer->copyRdram();
} }
const bool bCFB = (gDP.changed&CHANGED_CPU_FB_WRITE) == CHANGED_CPU_FB_WRITE; const bool bCFB = (gDP.changed&CHANGED_CPU_FB_WRITE) == CHANGED_CPU_FB_WRITE;