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
This commit is contained in:
Glenn Rice 2011-03-11 18:04:42 +00:00
parent ccf3158da4
commit e5f7c5c58a
1 changed files with 4 additions and 0 deletions

View File

@ -516,6 +516,10 @@ Renderer::~Renderer()
s_bLastFrameDumped = false;
s_bAVIDumping = false;
}
#else
if (s_bLastFrameDumped)
f_pFrameDump.Close();
s_bLastFrameDumped = false;
#endif
}