aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_save_thumb_helper.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-29 02:30:26 +0200
committerEinar Johan Trøan Sømåen2012-07-29 02:34:44 +0200
commit9b5cf8f1bafd5aa0dba9194a8f04e58724652891 (patch)
tree6a205943845259a213532476d4dc9ee49a898cf7 /engines/wintermute/base/base_save_thumb_helper.cpp
parentb214041539559e65b89b3270439970fd7173dcbe (diff)
downloadscummvm-rg350-9b5cf8f1bafd5aa0dba9194a8f04e58724652891.tar.gz
scummvm-rg350-9b5cf8f1bafd5aa0dba9194a8f04e58724652891.tar.bz2
scummvm-rg350-9b5cf8f1bafd5aa0dba9194a8f04e58724652891.zip
WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager.
Diffstat (limited to 'engines/wintermute/base/base_save_thumb_helper.cpp')
-rw-r--r--engines/wintermute/base/base_save_thumb_helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/base_save_thumb_helper.cpp b/engines/wintermute/base/base_save_thumb_helper.cpp
index 8b71c73818..0d580e8db3 100644
--- a/engines/wintermute/base/base_save_thumb_helper.cpp
+++ b/engines/wintermute/base/base_save_thumb_helper.cpp
@@ -66,7 +66,7 @@ bool BaseSaveThumbHelper::storeThumbnail(bool doFlip) {
// normal thumbnail
if (_gameRef->_thumbnailWidth > 0 && _gameRef->_thumbnailHeight > 0) {
- _thumbnail = new BaseImage(_gameRef->_fileManager);
+ _thumbnail = new BaseImage();
_thumbnail->copyFrom(screenshot, _gameRef->_thumbnailWidth, _gameRef->_thumbnailHeight);
}