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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Jul 29 19:29:11 CEST 2008


Revision: 33417
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33417&view=rev
Author:   lordhoto
Date:     2008-07-29 17:29:10 +0000 (Tue, 29 Jul 2008)

Log Message:
-----------
Allow .pak files to be compressed too.

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

Modified: tools/trunk/compress_kyra.cpp
===================================================================
--- tools/trunk/compress_kyra.cpp	2008-07-29 17:00:15 UTC (rev 33416)
+++ tools/trunk/compress_kyra.cpp	2008-07-29 17:29:10 UTC (rev 33417)
@@ -501,7 +501,7 @@
 bool detectKyra3File(const char *infile) {
 	if (hasSuffix(infile, ".AUD")) {
 		return true;
-	} else if (hasSuffix(infile, ".VRM")) {
+	} else if (hasSuffix(infile, ".VRM") || hasSuffix(infile, ".PAK")) {
 		if (!PAKFile::isPakFile(infile))
 			error("Unknown filetype of file: '%s'", infile);
 		return false;


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