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
@@ -1315,7 +1315,7 @@ void EmuScreen::render() {
thin3d->BindFramebufferAsRenderTarget(nullptr, { RPAction::CLEAR, RPAction::DONT_CARE, RPAction::DONT_CARE });
// Just to make sure.
if (PSP_IsInited()) {
gpu->CopyDisplayToOutput();
gpu->CopyDisplayToOutput(true);
}
} else {
// Didn't actually reach the end of the frame, ran out of the blockTicks cycles.