From 9a49e91e41df726a6e509f77292e38b8fd71f0db Mon Sep 17 00:00:00 2001 From: ayuanx Date: Thu, 28 Jan 2010 14:37:03 +0000 Subject: [PATCH] Fixes an issue caused by r4964 FrameUpdate() must be called even when a frame is skipped, otherwise frameskipping will freeze. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4980 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index cf572ba5f4..6f5f10e7cb 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -797,7 +797,11 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight) Common::AtomicStoreRelease(s_swapRequested, FALSE); if (s_skipSwap) + { + g_VideoInitialize.pCopiedToXFB(false); return; + } + const XFBSource* xfbSource = g_framebufferManager.GetXFBSource(xfbAddr, fbWidth, fbHeight); if (!xfbSource) {