Framedumps: Add finish() function to limit memory lifetime.

This commit is contained in:
degasus
2016-10-08 00:04:25 +02:00
parent ebc617882b
commit b5a91e1dfa
6 changed files with 9 additions and 0 deletions

View File

@ -1470,6 +1470,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight,
DumpFrameData(image.data(), flipped_trc.GetWidth(), flipped_trc.GetHeight(),
AVIDump::DumpFormat::FORMAT_RGBA, true);
FinishFrameData();
}
// Finish up the current frame, print some stats