[Scummvm-cvs-logs] SF.net SVN: scummvm: [27615] tools/trunk/encode_dxa.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Fri Jun 22 21:52:37 CEST 2007


Revision: 27615
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27615&view=rev
Author:   eriktorbjorn
Date:     2007-06-22 12:52:36 -0700 (Fri, 22 Jun 2007)

Log Message:
-----------
Apparently, there's a version of The Feeble Files that uses a more recent
version of Smacker, so we need to test for both SMK2 and SMK4 when identifying
the file. I cannot test this myself, though.

Modified Paths:
--------------
    tools/trunk/encode_dxa.cpp

Modified: tools/trunk/encode_dxa.cpp
===================================================================
--- tools/trunk/encode_dxa.cpp	2007-06-22 18:57:07 UTC (rev 27614)
+++ tools/trunk/encode_dxa.cpp	2007-06-22 19:52:36 UTC (rev 27615)
@@ -650,7 +650,7 @@
 		width = readUint32LE(smk);
 		height = readUint32LE(smk);
 		framerate = readUint32LE(smk);
-	} else if (!memcmp(buf, "SMK2", 4)) {
+	} else if (!memcmp(buf, "SMK2", 4) || !memcmp(buf, "SMK4", 4)) {
 		uint32 flags;
 
 		width = readUint32LE(smk);


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