From 8152793d09a8a776213a31f457fed897e62cc4b0 Mon Sep 17 00:00:00 2001 From: yinsimei Date: Wed, 5 Jul 2017 19:20:50 +0200 Subject: SLUDGE: save&load system (without thumbnail and snapshot) --- engines/sludge/thumbnail.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/sludge/thumbnail.cpp') diff --git a/engines/sludge/thumbnail.cpp b/engines/sludge/thumbnail.cpp index 8e238f76fa..b628f0bd8d 100644 --- a/engines/sludge/thumbnail.cpp +++ b/engines/sludge/thumbnail.cpp @@ -132,8 +132,8 @@ bool saveThumbnail(Common::WriteStream *stream) { unfreeze(true); } fputc('!', fp); - return true; #endif + return true; } void showThumbnail(char *filename, int atX, int atY) { @@ -252,12 +252,15 @@ void showThumbnail(char *filename, int atX, int atY) { } bool skipThumbnail(Common::SeekableReadStream *stream) { +#if 0 thumbWidth = stream->readUint32LE(); thumbHeight = stream->readUint32LE(); uint32 skippy = thumbWidth; skippy *= thumbHeight << 1; stream->seek(skippy, 1); return (stream->readByte() == '!'); +#endif + return true; } } // End of namespace Sludge -- cgit v1.2.3