[Scummvm-git-logs] scummvm master -> fccbc2835785679caff91fc14a9b2b962a26bb96
aquadran
noreply at scummvm.org
Wed Jul 27 16:10:15 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
fccbc28357 WINTERMUTE: Relax exit conditions for mszip packed X files
Commit: fccbc2835785679caff91fc14a9b2b962a26bb96
https://github.com/scummvm/scummvm/commit/fccbc2835785679caff91fc14a9b2b962a26bb96
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2022-07-27T18:10:09+02:00
Commit Message:
WINTERMUTE: Relax exit conditions for mszip packed X files
Few game have X files packed data not clean ended.
Remove conditions on last data and keep only remaining data condition.
Changed paths:
engines/wintermute/base/gfx/x/modelx.cpp
diff --git a/engines/wintermute/base/gfx/x/modelx.cpp b/engines/wintermute/base/gfx/x/modelx.cpp
index fa002fd596e..77a3fb2fd1f 100644
--- a/engines/wintermute/base/gfx/x/modelx.cpp
+++ b/engines/wintermute/base/gfx/x/modelx.cpp
@@ -76,7 +76,7 @@ static byte *DecompressMsZipData(byte *buffer, uint32 inputSize, uint32 &decompr
break;
}
- if (uncompressedLen == 0 && compressedLen == 0 && remainingData == 0) {
+ if (remainingData == 0) {
break;
}
More information about the Scummvm-git-logs
mailing list