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

Merge pull request #816 from purplemarshmallow/21

improve cfb detection
This commit is contained in:
Sergey Lipskiy 2015-12-15 23:18:37 +06:00
commit 65b2f30f5e

View File

@ -113,7 +113,8 @@ void VI_UpdateScreen()
gDP.changed |= CHANGED_CPU_FB_WRITE;
else if (!pBuffer->isValid()) {
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;