mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Enforce a max size for save state screenshot regardless of resolution mode (auto, skipbuf etc).
This commit is contained in:
1 parent
41bbc83b6d
commit
bac4a01209
2 files changed
+2
-4
No files matched your search
+2
-2
@@ -1050,8 +1050,8 @@ namespace SaveState
|
||||
|
||||
case SAVESTATE_SAVE_SCREENSHOT:
|
||||
{
|
||||
int maxRes = g_Config.iInternalResolution > 2 ? 2 : -1;
|
||||
tempResult = TakeGameScreenshot(op.filename, ScreenshotFormat::JPG, SCREENSHOT_DISPLAY, nullptr, nullptr, maxRes);
|
||||
int maxResMultiplier = 2;
|
||||
tempResult = TakeGameScreenshot(op.filename, ScreenshotFormat::JPG, SCREENSHOT_DISPLAY, nullptr, nullptr, maxResMultiplier);
|
||||
callbackResult = tempResult ? Status::SUCCESS : Status::FAILURE;
|
||||
if (!tempResult) {
|
||||
ERROR_LOG(SAVESTATE, "Failed to take a screenshot for the savestate! %s", op.filename.c_str());
|
||||
|
||||
Reference in new issue
Block a user