From 4f04f90a97965e278f5cbda6fbbd36fa493655cb Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 22 Apr 2015 07:14:49 -0500 Subject: SHERLOCK: Fix thumbnails for savegames made via in-game files dialog --- engines/sherlock/user_interface.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/sherlock') 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; -- cgit v1.2.3