[Scummvm-cvs-logs] SF.net SVN: scummvm:[54775] scummvm/trunk/common/macresman.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Sun Dec 5 01:51:05 CET 2010


Revision: 54775
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54775&view=rev
Author:   mthreepwood
Date:     2010-12-05 00:51:04 +0000 (Sun, 05 Dec 2010)

Log Message:
-----------
COMMON: Fix AppleDouble support in the MacResManager (thanks, fuzzie)

Modified Paths:
--------------
    scummvm/trunk/common/macresman.cpp

Modified: scummvm/trunk/common/macresman.cpp
===================================================================
--- scummvm/trunk/common/macresman.cpp	2010-12-05 00:45:21 UTC (rev 54774)
+++ scummvm/trunk/common/macresman.cpp	2010-12-05 00:51:04 UTC (rev 54775)
@@ -241,8 +241,8 @@
 		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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list