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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Jun 18 02:05:41 CEST 2010


Revision: 49976
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49976&view=rev
Author:   thebluegr
Date:     2010-06-18 00:05:41 +0000 (Fri, 18 Jun 2010)

Log Message:
-----------
Process kAddAfter with 4 parameters (Torin's Passage)

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

Modified: scummvm/trunk/engines/sci/engine/klists.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/klists.cpp	2010-06-17 23:53:30 UTC (rev 49975)
+++ scummvm/trunk/engines/sci/engine/klists.cpp	2010-06-18 00:05:41 UTC (rev 49976)
@@ -293,11 +293,14 @@
 		return NULL_REG;
 	}
 
-	if (argc != 3) {
-		warning("kAddAfter: Haven't got 3 arguments, aborting");
+	if (argc != 3 && argc != 4) {
+		warning("kAddAfter: Haven't got 3 or 4 arguments, aborting");
 		return NULL_REG;
 	}
 
+	if (argc == 4)	// Torin's Passage
+		warning("kAddAfter with 4 params called, 4th param is %04x:%04x", PRINT_REG(argv[3]));
+
 	if (firstnode) { // We're really appending after
 		reg_t oldnext = firstnode->succ;
 


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