[Scummvm-cvs-logs] SF.net SVN: scummvm:[39040] scummvm/trunk/engines/engine.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Mar 1 16:15:51 CET 2009


Revision: 39040
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39040&view=rev
Author:   eriktorbjorn
Date:     2009-03-01 15:15:51 +0000 (Sun, 01 Mar 2009)

Log Message:
-----------
Check for "track01" as well as "track1". (I hope I didn't break compilation by
modifying Windows-only code.)

Modified Paths:
--------------
    scummvm/trunk/engines/engine.cpp

Modified: scummvm/trunk/engines/engine.cpp
===================================================================
--- scummvm/trunk/engines/engine.cpp	2009-03-01 14:45:30 UTC (rev 39039)
+++ scummvm/trunk/engines/engine.cpp	2009-03-01 15:15:51 UTC (rev 39040)
@@ -193,15 +193,20 @@
 	// if it's running from CD.
 
 #ifdef USE_VORBIS
-	if (Common::File::exists("track1.ogg"))
+	if (Common::File::exists("track1.ogg") ||
+	    Common::File::exists("track01.ogg"))
 		return;
 #endif
 #ifdef USE_FLAC
-	if (Common::File::exists("track1.fla") || Common::File::exists("track1.flac"))
+	if (Common::File::exists("track1.fla") ||
+            Common::File::exists("track1.flac") ||
+	    Common::File::exists("track01.fla") ||
+	    Common::File::exists("track01.flac"))
 		return;
 #endif
 #ifdef USE_MAD
-	if (Common::File::exists("track1.mp3"))
+	if (Common::File::exists("track1.mp3") ||
+	    Common::File::exists("track01.mp3"))
 		return;
 #endif
 


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