WINTERMUTE: Use only const BaseGame-ref in SaveThumbHelper.

This commit is contained in:
Einar Johan Trøan Sømåen 2013-04-17 20:38:59 +02:00
parent 411b7128ab
commit 7f4b95b3f8
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
namespace Wintermute {
//////////////////////////////////////////////////////////////////////////
SaveThumbHelper::SaveThumbHelper(BaseGame *inGame) {
SaveThumbHelper::SaveThumbHelper(const BaseGame *inGame) {
_thumbnail = nullptr;
_scummVMThumb = nullptr;
}

View File

@ -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);