diff options
-rw-r--r-- | graphics/decoders/iff.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/decoders/iff.cpp b/graphics/decoders/iff.cpp index 7b37969fc1..485b2846a8 100644 --- a/graphics/decoders/iff.cpp +++ b/graphics/decoders/iff.cpp @@ -59,7 +59,8 @@ void IFFDecoder::destroy() { } bool IFFDecoder::loadStream(Common::SeekableReadStream &stream) { - destroy(); + // NOTE: we cannot call destroy() here, like most other decoders do, otherwise the + // settings (stored in _numRelevantPlanes and _pixelPacking) will be cleared. const uint32 form = stream.readUint32BE(); |