CommonHostInterface: Compress screenshots in background/use worker thread

This commit is contained in:
Connor McLaughlin
2020-11-26 22:51:13 +10:00
parent 125dfa7c40
commit 24fef20485
2 changed files with 11 additions and 3 deletions

View File

@ -151,7 +151,8 @@ public:
void StopDumpingAudio();
/// Saves a screenshot to the specified file. IF no file name is provided, one will be generated automatically.
bool SaveScreenshot(const char* filename = nullptr, bool full_resolution = true, bool apply_aspect_ratio = true);
bool SaveScreenshot(const char* filename = nullptr, bool full_resolution = true, bool apply_aspect_ratio = true,
bool compress_on_thread = true);
/// Loads the cheat list from the specified file.
bool LoadCheatList(const char* filename);