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
This commit is contained in:
Glenn Rice 2011-03-11 18:13:08 +00:00
parent e5f7c5c58a
commit 2a694edf93

View file

@ -517,7 +517,7 @@ Renderer::~Renderer()
s_bAVIDumping = false;
}
#else
if (s_bLastFrameDumped)
if (f_pFrameDump.IsOpen())
f_pFrameDump.Close();
s_bLastFrameDumped = false;
#endif