aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2015-05-13 22:54:57 +0200
committerStrangerke2015-05-13 22:58:07 +0200
commit6f263e5774f7f4f8877932bb136621ac9606d11e (patch)
treebd2ff77fce30c1a8fec22a2998855d40eb489277
parentc6c056133c7720fc83de0513acbf4b0cc96bc50e (diff)
downloadscummvm-rg350-6f263e5774f7f4f8877932bb136621ac9606d11e.tar.gz
scummvm-rg350-6f263e5774f7f4f8877932bb136621ac9606d11e.tar.bz2
scummvm-rg350-6f263e5774f7f4f8877932bb136621ac9606d11e.zip
SHERLOCK: Fix a glitch in decompressLZ, when file size is unknown
-rw-r--r--engines/sherlock/decompress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/decompress.cpp b/engines/sherlock/decompress.cpp
index dfa573209f..b781285471 100644
--- a/engines/sherlock/decompress.cpp
+++ b/engines/sherlock/decompress.cpp
@@ -32,7 +32,7 @@ namespace Sherlock {
*/
Common::SeekableReadStream *decompressLZ(Common::SeekableReadStream &source, int32 outSize) {
if (outSize == -1) {
- source.seek(5);
+ source.seek(4);
outSize = source.readSint32LE();
}