Android: Save screenshot at end of an emulation session.

This commit is contained in:
sigmabeta
2015-06-18 21:28:40 -04:00
committed by Eder Bastos
parent 2cea910431
commit a028805626
11 changed files with 62 additions and 17 deletions

View File

@ -17,6 +17,7 @@
#include <mutex>
#include <string>
#include "Common/Event.h"
#include "Common/MathUtil.h"
#include "Common/Thread.h"
#include "VideoCommon/BPMemory.h"
@ -133,6 +134,8 @@ public:
// Max height/width
virtual int GetMaxTextureSize() = 0;
static Common::Event s_screenshotCompleted;
protected:
static void CalculateTargetScale(int x, int y, int* scaledX, int* scaledY);