Fix frame dumps on file close in certain situations

This commit is contained in:
Chris Burgener
2016-10-04 09:12:19 -04:00
parent ea33405feb
commit 43c48a6f48
4 changed files with 8 additions and 8 deletions

View File

@ -185,7 +185,7 @@ void AVIDump::AddFrame(const u8* data, int width, int height)
{
// Store current frame data in case frame dumping stops before next frame update,
// but make sure that you don't store the last stored frame and check the resolution upon
// closing the file or else you store recusion, and dolphins don't like recursion.
// closing the file or else you store recursion, and dolphins don't like recursion.
if (!s_stop_dumping)
{
StoreFrameData(data, width, height);