Address all the easy feedback. Some is left.

This commit is contained in:
Henrik Rydgård
2021-05-13 10:39:17 +02:00
parent 8727679353
commit 47039b4bcd
17 changed files with 30 additions and 34 deletions
+1 -1
View File
@@ -864,7 +864,7 @@ namespace SaveState
{
int maxRes = g_Config.iInternalResolution > 2 ? 2 : -1;
// TODO(scoped): Pass the path properly into TakeGameScreenshot.
tempResult = TakeGameScreenshot(Path(op.filename), ScreenshotFormat::JPG, SCREENSHOT_DISPLAY, nullptr, nullptr, maxRes);
tempResult = TakeGameScreenshot(op.filename, ScreenshotFormat::JPG, SCREENSHOT_DISPLAY, nullptr, nullptr, maxRes);
callbackResult = tempResult ? Status::SUCCESS : Status::FAILURE;
if (!tempResult) {
ERROR_LOG(SAVESTATE, "Failed to take a screenshot for the savestate! %s", op.filename.c_str());