Revert "GRAPHICS: do not clear the internal state of IFFDecoder on loadStream()."

This reverts commit 92c1ff31d6.
This commit is contained in:
peres 2013-10-26 23:05:20 +09:00
parent 091bcbf313
commit 69be9adf52

View File

@ -59,8 +59,7 @@ void IFFDecoder::destroy() {
}
bool IFFDecoder::loadStream(Common::SeekableReadStream &stream) {
// NOTE: we cannot call destroy() here, like most other decoders do, otherwise the
// settings (stored in _numRelevantPlanes and _pixelPacking) will be cleared.
destroy();
const uint32 form = stream.readUint32BE();