From 70ab5a21da160ce5a56b2261f0dc4b596a1d623a Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 5 Dec 2010 00:51:04 +0000 Subject: COMMON: Fix AppleDouble support in the MacResManager (thanks, fuzzie) svn-id: r54775 --- common/macresman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/macresman.cpp b/common/macresman.cpp index f9a49cfe04..d2fe3063c6 100644 --- a/common/macresman.cpp +++ b/common/macresman.cpp @@ -241,8 +241,8 @@ bool MacResManager::loadFromAppleDouble(SeekableReadStream &stream) { uint32 offset = stream.readUint32BE(); uint32 length = stream.readUint32BE(); // length - if (id == 1) { - // Found the data fork! + if (id == 2) { + // Found the resource fork! _resForkOffset = offset; _mode = kResForkAppleDouble; _resForkSize = length; -- cgit v1.2.3