aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-29 07:30:57 +0200
committerEugene Sandulenko2016-09-29 07:33:19 +0200
commitea1ec78be402e175ab6f7e4acd9d8588020d10b8 (patch)
tree25ff45d444915de7c8928186ef4488491926f75e
parent6aa4efda50281f8e225cf27185afa63d02f78d2f (diff)
downloadscummvm-rg350-ea1ec78be402e175ab6f7e4acd9d8588020d10b8.tar.gz
scummvm-rg350-ea1ec78be402e175ab6f7e4acd9d8588020d10b8.tar.bz2
scummvm-rg350-ea1ec78be402e175ab6f7e4acd9d8588020d10b8.zip
FULLPIPE: Save correct thumbnail to the savegames
-rw-r--r--engines/fullpipe/statesaver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/statesaver.cpp b/engines/fullpipe/statesaver.cpp
index 130ab6214d..509376790d 100644
--- a/engines/fullpipe/statesaver.cpp
+++ b/engines/fullpipe/statesaver.cpp
@@ -146,6 +146,8 @@ bool GameLoader::writeSavegame(Scene *sc, const char *fname) {
saveFile->writeUint16LE(header2.time);
saveFile->writeUint32LE(header2.playtime);
+ g_fp->_currentScene->draw();
+
Graphics::saveThumbnail(*saveFile); // FIXME. Render proper screen
saveFile->writeUint32LE(headerPos); // Store where the header starts