2017-04-09 05:48:27 +00:00
|
|
|
#pragma once
|
|
|
|
#include "Config.h"
|
|
|
|
#include "PS2VM.h"
|
|
|
|
|
|
|
|
class CScreenShotUtils : public Framework::CConfig
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 20:01:23 +00:00
|
|
|
typedef std::function<void(int, const char*)> Callback;
|
2017-04-09 05:48:27 +00:00
|
|
|
|
2018-04-30 20:01:23 +00:00
|
|
|
static void TriggerGetScreenshot(CPS2VM*, Callback);
|
2017-04-09 05:48:27 +00:00
|
|
|
|
|
|
|
private:
|
2018-04-30 20:01:23 +00:00
|
|
|
static CConfig::PathType GetScreenShotDirectoryPath();
|
|
|
|
static CConfig::PathType GenerateScreenShotPath(const char* gameID);
|
2017-04-09 05:48:27 +00:00
|
|
|
};
|