GPU: Use old frame when presenting a skip.

If we flip using a skipped frame, we may show an even older frame causing
weird flickering.
This commit is contained in:
Unknown W. Brackets committed 2020-03-01 13:55:28 -08:00
1 parent 5597752a5b
commit cebcfb1bbd
17 files changed
+31 -26

No files matched your search

+1 -1
View File
@@ -781,7 +781,7 @@ void __DisplayFlip(int cyclesLate) {
// Check first though, might've just quit / been paused.
if (coreState == CORE_RUNNING) {
coreState = CORE_NEXTFRAME;
gpu->CopyDisplayToOutput();
gpu->CopyDisplayToOutput(fbReallyDirty);
if (fbReallyDirty) {
actualFlips++;
}