mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Core: Refactor screenshot saving.
So we can reuse the actual saving.
This commit is contained in:
1 parent
fe45a059b5
commit
79dc857527
5 files changed
+48
-48
No files matched your search
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user