[Scummvm-cvs-logs] SF.net SVN: scummvm:[39962] scummvm/trunk/engines/kyra/staticres.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Apr 16 14:31:17 CEST 2009


Revision: 39962
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39962&view=rev
Author:   lordhoto
Date:     2009-04-16 12:31:17 +0000 (Thu, 16 Apr 2009)

Log Message:
-----------
Add HACK to support DOS music in Kyra1 Mac CD based on patch #2767489 "KYRA1: Support for Mac CD".

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/staticres.cpp

Modified: scummvm/trunk/engines/kyra/staticres.cpp
===================================================================
--- scummvm/trunk/engines/kyra/staticres.cpp	2009-04-16 11:19:44 UTC (rev 39961)
+++ scummvm/trunk/engines/kyra/staticres.cpp	2009-04-16 12:31:17 UTC (rev 39962)
@@ -1428,7 +1428,9 @@
 	static const char *tIntro98[] = { "intro%d.dat" };
 	static const char *tIngame98[] = { "kyram%d.dat" };
 
-	if (_flags.platform == Common::kPlatformPC) {
+	// FIXME: It seems Kyra1 MAC CD includes AdLib and MIDI music and sfx, thus we enable
+	// support for those for now. (Based on patch #2767489 "Support for Mac Kyrandia 1 CD" by satz).
+	if (_flags.platform == Common::kPlatformPC || _flags.platform == Common::kPlatformMacintosh) {
 		_soundData[0]._fileList = _soundFilesIntro;
 		_soundData[0]._fileListLen = _soundFilesIntroSize;
 		_soundData[0]._cdaTracks = 0;


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