diff options
author | Eugene Sandulenko | 2016-10-28 22:48:28 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-29 08:07:19 -0700 |
commit | 703178e033934b7aa09ab5e995480d967ef7113a (patch) | |
tree | 799c1eb719c621ea22ca9544596e6d6f1bc7b485 /engines/director/archive.cpp | |
parent | 9f35d6fdc6cc4462f1cb3a9916aba298d0a3e1be (diff) | |
download | scummvm-rg350-703178e033934b7aa09ab5e995480d967ef7113a.tar.gz scummvm-rg350-703178e033934b7aa09ab5e995480d967ef7113a.tar.bz2 scummvm-rg350-703178e033934b7aa09ab5e995480d967ef7113a.zip |
DIRECTOR: Rework Channel data parsing
Diffstat (limited to 'engines/director/archive.cpp')
-rw-r--r-- | engines/director/archive.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/archive.cpp b/engines/director/archive.cpp index 9122572a95..53c5243458 100644 --- a/engines/director/archive.cpp +++ b/engines/director/archive.cpp @@ -347,6 +347,8 @@ bool RIFXArchive::openStream(Common::SeekableReadStream *stream, uint32 startOff subStream.readUint32(); // imap length subStream.readUint32(); // unknown uint32 mmapOffset = subStream.readUint32() - startOffset - 4; + uint32 version = subStream.readUint32(); // 0 for 4.0, 0x4c1 for 5.0, 0x4c7 for 6.0, 0x708 for 8.5, 0x742 for 10.0 + warning("RIFX: version: %x", version); subStream.seek(mmapOffset); |