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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Nov 12 00:51:44 CET 2010


Revision: 54215
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54215&view=rev
Author:   thebluegr
Date:     2010-11-11 23:51:43 +0000 (Thu, 11 Nov 2010)

Log Message:
-----------
SCI: kSave case 0 is actually kSaveGame. Based on a patch by lskovlun

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

Modified: scummvm/trunk/engines/sci/engine/kfile.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kfile.cpp	2010-11-11 23:48:01 UTC (rev 54214)
+++ scummvm/trunk/engines/sci/engine/kfile.cpp	2010-11-11 23:51:43 UTC (rev 54215)
@@ -1130,7 +1130,7 @@
 reg_t kSave(EngineState *s, int argc, reg_t *argv) {
 	switch (argv[0].toUint16()) {
 	case 0: // Called by kq7 when starting chapters
-		return SIGNAL_REG;
+		return kSaveGame(s, argc - 1,argv + 1);
 	case 2: // GetSaveDir
 		// Yay! Reusing the old kernel function!
 		return kGetSaveDir(s, argc - 1, argv + 1);


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