Fix various minor warnings.
This commit is contained in:
parent
87eadad326
commit
ef1dc583a2
9 changed files with 15 additions and 10 deletions
|
@ -646,7 +646,8 @@ namespace SaveState
|
|||
break;
|
||||
|
||||
case SAVESTATE_SAVE_SCREENSHOT:
|
||||
if (!TakeGameScreenshot(op.filename.c_str(), SCREENSHOT_JPG, SCREENSHOT_RENDER)) {
|
||||
callbackResult = TakeGameScreenshot(op.filename.c_str(), SCREENSHOT_JPG, SCREENSHOT_RENDER);
|
||||
if (!callbackResult) {
|
||||
ERROR_LOG(COMMON, "Failed to take a screenshot for the savestate! %s", op.filename.c_str());
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue