aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-05 00:51:04 +0000
committerMatthew Hoops2010-12-05 00:51:04 +0000
commit70ab5a21da160ce5a56b2261f0dc4b596a1d623a (patch)
tree8fa73b98d5cb0b97cdd4d3d556b3cdd7ce868eb2 /common
parent9a8539e1d8122d61db3fc90ad71a3ffae23e4bf9 (diff)
downloadscummvm-rg350-70ab5a21da160ce5a56b2261f0dc4b596a1d623a.tar.gz
scummvm-rg350-70ab5a21da160ce5a56b2261f0dc4b596a1d623a.tar.bz2
scummvm-rg350-70ab5a21da160ce5a56b2261f0dc4b596a1d623a.zip
COMMON: Fix AppleDouble support in the MacResManager (thanks, fuzzie)
svn-id: r54775
Diffstat (limited to 'common')
-rw-r--r--common/macresman.cpp4
1 files 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;