mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
DIRECTOR: Add v5 Mac data fork parsing
This commit is contained in:
parent
d870127ddb
commit
bba8bb4c33
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user