[Scummvm-cvs-logs] scummvm-tools master -> a13da9a3fd9d660d45f8f87bedce6fd26b7cb81d
wjp
wjp at usecode.org
Sun May 29 14:06:20 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .
Summary:
a13da9a3fd SCI: Don't skip last resource in compress_sci
Commit: a13da9a3fd9d660d45f8f87bedce6fd26b7cb81d
https://github.com/scummvm/scummvm-tools/commit/a13da9a3fd9d660d45f8f87bedce6fd26b7cb81d
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-05-29T05:03:15-07:00
Commit Message:
SCI: Don't skip last resource in compress_sci
This was spotted by 'agf863' in bug #3302321.
Changed paths:
engines/sci/compress_sci.cpp
diff --git a/engines/sci/compress_sci.cpp b/engines/sci/compress_sci.cpp
index bb5409e..3d82b7e 100644
--- a/engines/sci/compress_sci.cpp
+++ b/engines/sci/compress_sci.cpp
@@ -349,11 +349,11 @@ void CompressSci::execute() {
error("Unsupported data at offset %lx", _inputOffset);
_input.seek(_inputEndOffset, SEEK_SET);
_inputOffset = _inputEndOffset;
+ resourceCount++;
// We abort even, if file position is one below size because of pharkas resource.sfx
if (_inputOffset >= _inputSize - 1)
break;
- resourceCount++;
_input.read_throwsOnError(&header, 6);
} while (true);
More information about the Scummvm-git-logs
mailing list