Fix various minor warnings.

This commit is contained in:
Unknown W. Brackets 2016-03-20 14:17:51 -07:00
parent 87eadad326
commit ef1dc583a2
9 changed files with 15 additions and 10 deletions

View file

@ -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;