[Scummvm-cvs-logs] SF.net SVN: scummvm:[43358] scummvm/trunk/engines/agos/script.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Fri Aug 14 02:44:37 CEST 2009


Revision: 43358
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43358&view=rev
Author:   Kirben
Date:     2009-08-14 00:44:36 +0000 (Fri, 14 Aug 2009)

Log Message:
-----------
The Nintendo DS hack for introduction in Simon the Sorcerer 1 is only required for Windows version (WAV format) now.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/script.cpp

Modified: scummvm/trunk/engines/agos/script.cpp
===================================================================
--- scummvm/trunk/engines/agos/script.cpp	2009-08-13 21:46:41 UTC (rev 43357)
+++ scummvm/trunk/engines/agos/script.cpp	2009-08-14 00:44:36 UTC (rev 43358)
@@ -110,7 +110,8 @@
 #ifdef __DS__
 	// HACK: Skip attempt to read Calypso's letter manually,
 	// due to speech segment been too large to fit into memory
-	if (getGameType() == GType_SIMON1 && (getFeatures() & GF_TALKIE) && _currentTable) {
+	if (getGameType() == GType_SIMON1 && (getFeatures() & GF_TALKIE) &&
+		getPlatform() == Common::kPlatformWindows && _currentTable) {
 		if (_currentTable->id == 71 && tmp == 1 && tmp2 == 1) {
 			setScriptCondition(false);
 			return;
@@ -444,7 +445,8 @@
 #ifdef __DS__
 		// HACK: Skip scene of Simon reading letter from Calypso
 		// due to speech segment been too large to fit into memory
-		if (getGameType() == GType_SIMON1 && (getFeatures() & GF_TALKIE) && sub->id == 2922) {
+		if (getGameType() == GType_SIMON1 && (getFeatures() & GF_TALKIE) &&
+			getPlatform() == Common::kPlatformWindows && sub->id == 2922) {
 			// set parent special
 			_noParentNotify = true;
 			setItemParent(derefItem(16), me());


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