aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-04-17 20:38:59 +0200
committerEinar Johan Trøan Sømåen2013-04-17 21:21:17 +0200
commit7f4b95b3f8bbe7aa2be842462e57868ec17fd19e (patch)
treec2a483fd901b564e13c4ca441bb59265e2c0e314 /engines/wintermute
parent411b7128ab288dbd9e0b1fad59c420639d951d92 (diff)
downloadscummvm-rg350-7f4b95b3f8bbe7aa2be842462e57868ec17fd19e.tar.gz
scummvm-rg350-7f4b95b3f8bbe7aa2be842462e57868ec17fd19e.tar.bz2
scummvm-rg350-7f4b95b3f8bbe7aa2be842462e57868ec17fd19e.zip
WINTERMUTE: Use only const BaseGame-ref in SaveThumbHelper.
Diffstat (limited to 'engines/wintermute')
-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 4598757375..db6f855cc6 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(BaseGame *inGame) {
+SaveThumbHelper::SaveThumbHelper(const BaseGame *inGame) {
_thumbnail = nullptr;
_scummVMThumb = nullptr;
}
diff --git a/engines/wintermute/base/save_thumb_helper.h b/engines/wintermute/base/save_thumb_helper.h
index cbf0345709..43cc7e39a7 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(BaseGame *inGame);
+ SaveThumbHelper(const BaseGame *inGame);
virtual ~SaveThumbHelper(void);
bool storeThumbnail(bool doFlip = false);
bool storeScummVMThumbNail(bool doFlip = false);