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

@ -150,6 +150,7 @@ protected:
bool IsFrameDumping();
void DumpFrameData(const u8* data, int w, int h, AVIDump::DumpFormat format,
bool swap_upside_down = false);
void FinishFrameData();
static volatile bool s_bScreenshot;
static std::mutex s_criticalScreenshot;