diff options
author | Matthew Hoops | 2012-11-14 22:14:26 -0500 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | bba8bb4c3357ea72b64a498afd47e54e05c7d2f2 (patch) | |
tree | 827f20df9086dfeca97a5bd0c29f91a4e39cfd0b | |
parent | d870127ddb766be5d599b054ab1e4102aa9632ff (diff) | |
download | scummvm-rg350-bba8bb4c3357ea72b64a498afd47e54e05c7d2f2.tar.gz scummvm-rg350-bba8bb4c3357ea72b64a498afd47e54e05c7d2f2.tar.bz2 scummvm-rg350-bba8bb4c3357ea72b64a498afd47e54e05c7d2f2.zip |
DIRECTOR: Add v5 Mac data fork parsing
-rw-r--r-- | engines/director/director.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index 0b6b626cfe..10dce678f8 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -166,9 +166,9 @@ void DirectorEngine::loadMac() { // First we need to detect PPC vs. 68k - uint32 tag = dataFork->readUint32LE(); + uint32 tag = dataFork->readUint32BE(); - if (tag == MKTAG('P', 'J', '9', '3')) { + if (SWAP_BYTES_32(tag) == MKTAG('P', 'J', '9', '3') || tag == MKTAG('P', 'J', '9', '5')) { // PPC: The RIFX shares the data fork with the binary dataFork->seek(dataFork->readUint32BE()); } else { |