From e5f7c5c58a1362d7b94436892c3e8924be74c851 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Fri, 11 Mar 2011 18:04:42 +0000 Subject: [PATCH] Make sure the frame dumping file is closed when emulation stops as it should be for the non avi dump build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7331 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 81835afc88..cfb2938e18 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -516,6 +516,10 @@ Renderer::~Renderer() s_bLastFrameDumped = false; s_bAVIDumping = false; } +#else + if (s_bLastFrameDumped) + f_pFrameDump.Close(); + s_bLastFrameDumped = false; #endif }