[Scummvm-cvs-logs] SF.net SVN: scummvm:[35051] scummvm/trunk/engines/saga

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Nov 14 00:21:39 CET 2008


Revision: 35051
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35051&view=rev
Author:   thebluegr
Date:     2008-11-13 23:21:38 +0000 (Thu, 13 Nov 2008)

Log Message:
-----------
Fix for bug #2277597 - "ITE: Classic Mac alternate md5sums / Voices not detected?\226?\128?\143"

Modified Paths:
--------------
    scummvm/trunk/engines/saga/detection_tables.h
    scummvm/trunk/engines/saga/rscfile.cpp

Modified: scummvm/trunk/engines/saga/detection_tables.h
===================================================================
--- scummvm/trunk/engines/saga/detection_tables.h	2008-11-13 23:19:25 UTC (rev 35050)
+++ scummvm/trunk/engines/saga/detection_tables.h	2008-11-13 23:21:38 UTC (rev 35051)
@@ -341,7 +341,7 @@
 	{"ite scripts.bin",		GAME_SCRIPTFILE | GAME_MACBINARY,	"af0d7a2588e09ad3ecbc5b474ea238bf", -1},
 	{"ite sounds.bin",		GAME_SOUNDFILE | GAME_MACBINARY,	"441426c6bb2a517f65c7e49b57f7a345", -1},
 	{"ite music.bin",		GAME_MUSICFILE_GM | GAME_MACBINARY,	"c1d20324b7cdf1650e67061b8a93251c", -1},
-	{"ite voices.bin",		GAME_VOICEFILE | GAME_MACBINARY,	"dba92ae7d57e942250fe135609708369", -1},
+	//{"ite voices.bin",		GAME_VOICEFILE | GAME_MACBINARY,	"dba92ae7d57e942250fe135609708369", -1},
 	{ NULL, 0, NULL, 0}
 			},
 			Common::EN_ANY,

Modified: scummvm/trunk/engines/saga/rscfile.cpp
===================================================================
--- scummvm/trunk/engines/saga/rscfile.cpp	2008-11-13 23:19:25 UTC (rev 35050)
+++ scummvm/trunk/engines/saga/rscfile.cpp	2008-11-13 23:21:38 UTC (rev 35051)
@@ -461,6 +461,11 @@
 				// as big endian
 				if (!_vm->isBigEndian())
 					voiceFileType = GAME_VOICEFILE | GAME_SWAPENDIAN;	// This file is big endian
+			} else if (Common::File::exists("ite voices.bin")) {		// MacBinary voice files
+				_contextsCount++;
+				voicesFileIndex = _contextsCount - 1;
+				sprintf(_voicesFileName[0], "ite voices.bin");
+				voiceFileType = GAME_VOICEFILE | GAME_MACBINARY;
 			} else {
 				// No voice file found, don't add any file to the array
 				voicesFileInArray = true;


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