[Scummvm-cvs-logs] SF.net SVN: scummvm: [23028] scummvm/trunk/engines/simon/animation.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Jun 11 19:00:05 CEST 2006


Revision: 23028
Author:   eriktorbjorn
Date:     2006-06-11 09:59:59 -0700 (Sun, 11 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23028&view=rev

Log Message:
-----------
I don't have the German FF version with the wrong cutscene file names, but I
believe we need to adjust baseName as well, so that we can use an equally wrong
(i.e. right) name for opening the audio track.

Modified Paths:
--------------
    scummvm/trunk/engines/simon/animation.cpp
Modified: scummvm/trunk/engines/simon/animation.cpp
===================================================================
--- scummvm/trunk/engines/simon/animation.cpp	2006-06-11 14:21:46 UTC (rev 23027)
+++ scummvm/trunk/engines/simon/animation.cpp	2006-06-11 16:59:59 UTC (rev 23028)
@@ -92,8 +92,12 @@
 			char shortName[20];
 			memset(shortName, 0, sizeof(shortName));
 			memcpy(shortName, filename, 6);
+	
 			sprintf(shortName, "%s~1.dxa", shortName);
-	
+
+			memset(baseName, 0, sizeof(baseName));
+			memcpy(baseName, shortName, 8);
+
 			if (_fd.open(shortName) == false) {
 				error("Failed to load video file %s or %s", videoName, shortName);
 			} else {


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