aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/save_thumb_helper.cpp2
-rw-r--r--engines/wintermute/base/save_thumb_helper.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/save_thumb_helper.cpp b/engines/wintermute/base/save_thumb_helper.cpp
index db6f855cc6..bab29c5cf8 100644
--- a/engines/wintermute/base/save_thumb_helper.cpp
+++ b/engines/wintermute/base/save_thumb_helper.cpp
@@ -35,7 +35,7 @@
namespace Wintermute {
//////////////////////////////////////////////////////////////////////////
-SaveThumbHelper::SaveThumbHelper(const BaseGame *inGame) {
+SaveThumbHelper::SaveThumbHelper(BaseGame *inGame) : _gameRef(inGame) {
_thumbnail = nullptr;
_scummVMThumb = nullptr;
}
diff --git a/engines/wintermute/base/save_thumb_helper.h b/engines/wintermute/base/save_thumb_helper.h
index 0efae26a4a..d3bc5f5523 100644
--- a/engines/wintermute/base/save_thumb_helper.h
+++ b/engines/wintermute/base/save_thumb_helper.h
@@ -35,7 +35,7 @@ class BaseGame;
class SaveThumbHelper {
public:
- SaveThumbHelper(const BaseGame *inGame);
+ SaveThumbHelper(BaseGame *inGame);
virtual ~SaveThumbHelper(void);
bool storeThumbnail(bool doFlip = false);
bool storeScummVMThumbNail(bool doFlip = false);