mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 23:26:44 +00:00
Revert "GRAPHICS: do not clear the internal state of IFFDecoder on loadStream()."
This reverts commit 92c1ff31d6
.
This commit is contained in:
parent
091bcbf313
commit
69be9adf52
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user