Core: Refactor screenshot saving.

So we can reuse the actual saving.
This commit is contained in:
Unknown W. Brackets committed 2017-12-21 15:44:49 -08:00
1 parent fe45a059b5
commit 79dc857527
5 files changed
+48 -48

No files matched your search

+1 -1
View File
@@ -689,7 +689,7 @@ namespace SaveState
break;
case SAVESTATE_SAVE_SCREENSHOT:
callbackResult = TakeGameScreenshot(op.filename.c_str(), SCREENSHOT_JPG, SCREENSHOT_DISPLAY);
callbackResult = TakeGameScreenshot(op.filename.c_str(), ScreenshotFormat::JPG, SCREENSHOT_DISPLAY);
if (!callbackResult) {
ERROR_LOG(SAVESTATE, "Failed to take a screenshot for the savestate! %s", op.filename.c_str());
}