From 2a694edf93591c326f013470d4d657e895fa18dd Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Fri, 11 Mar 2011 18:13:08 +0000 Subject: [PATCH] Probably should use the IOFile built in mechanism to check if the file is open. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7332 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index cfb2938e18..543f47929e 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -517,7 +517,7 @@ Renderer::~Renderer() s_bAVIDumping = false; } #else - if (s_bLastFrameDumped) + if (f_pFrameDump.IsOpen()) f_pFrameDump.Close(); s_bLastFrameDumped = false; #endif