aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-22 07:14:49 -0500
committerPaul Gilbert2015-04-22 07:14:49 -0500
commit4f04f90a97965e278f5cbda6fbbd36fa493655cb (patch)
treeedeafcf0316f64434e08552b7398e0c408a44f55
parentacf0b01ad80acb54992a36c0123f3c951e2200e3 (diff)
downloadscummvm-rg350-4f04f90a97965e278f5cbda6fbbd36fa493655cb.tar.gz
scummvm-rg350-4f04f90a97965e278f5cbda6fbbd36fa493655cb.tar.bz2
scummvm-rg350-4f04f90a97965e278f5cbda6fbbd36fa493655cb.zip
SHERLOCK: Fix thumbnails for savegames made via in-game files dialog
-rw-r--r--engines/sherlock/user_interface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sherlock/user_interface.cpp b/engines/sherlock/user_interface.cpp
index cb10606562..a3631c577d 100644
--- a/engines/sherlock/user_interface.cpp
+++ b/engines/sherlock/user_interface.cpp
@@ -1603,6 +1603,12 @@ void UserInterface::doMainControl() {
case 'F':
pushButton(10);
_menuMode = FILES_MODE;
+
+ // Create a thumbnail of the current screen before the files dialog is shown, in case
+ // the user saves the game
+ saves.createThumbnail();
+
+ // Display the dialog
saves.drawInterface();
_selector = _oldSelector = -1;