From 7fa20d47341deb723b9a2ac7c3a5d60fefbb3106 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 25 Aug 2018 10:01:43 -0700 Subject: [PATCH] GPU: Download safe size on next create, too. In some cases, games will create a series of framebufs. Before, we weren't downloading them if they were only used once, as intended. --- GPU/Common/FramebufferCommon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GPU/Common/FramebufferCommon.cpp b/GPU/Common/FramebufferCommon.cpp index af1162b315..b475ff0c36 100644 --- a/GPU/Common/FramebufferCommon.cpp +++ b/GPU/Common/FramebufferCommon.cpp @@ -542,6 +542,8 @@ void FramebufferManagerCommon::NotifyRenderFramebufferCreated(VirtualFramebuffer if (!useBufferedRendering_) { // Let's ignore rendering to targets that have not (yet) been displayed. gstate_c.skipDrawReason |= SKIPDRAW_NON_DISPLAYED_FB; + } else if (currentRenderVfb_) { + DownloadFramebufferOnSwitch(currentRenderVfb_); } textureCache_->NotifyFramebuffer(vfb->fb_address, vfb, NOTIFY_FB_CREATED);