From 779fe13e62e6c0e9d591f2cb33d00a89191dd6a6 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Mon, 26 Sep 2022 23:41:56 +0200 Subject: VideoCommon: Update EFB peek cache on draw done and tokens Massively improves performance in Mario Galaxy on Android. --- Source/Core/VideoCommon/RenderBase.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoCommon/RenderBase.cpp') diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index e51307fa15..6f727c50ed 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -1346,6 +1346,8 @@ void Renderer::Swap(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height, u6 m_graphics_mod_manager.EndOfFrame(); } + g_framebuffer_manager->EndOfFrame(); + if (xfb_addr && fb_width && fb_stride && fb_height) { // Get the current XFB from texture cache -- cgit v1.2.3