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

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Thu Aug 27 19:25:13 CEST 2009


Revision: 43774
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43774&view=rev
Author:   mthreepwood
Date:     2009-08-27 17:25:13 +0000 (Thu, 27 Aug 2009)

Log Message:
-----------
Throw a warning when kGetSaveDir is called with a parameter

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

Modified: scummvm/trunk/engines/sci/engine/kfile.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kfile.cpp	2009-08-27 16:36:19 UTC (rev 43773)
+++ scummvm/trunk/engines/sci/engine/kfile.cpp	2009-08-27 17:25:13 UTC (rev 43774)
@@ -418,6 +418,12 @@
 }
 
 reg_t kGetSaveDir(EngineState *s, int funct_nr, int argc, reg_t *argv) {
+#ifdef ENABLE_SCI32
+	// TODO: SCI32 uses a parameter here.
+	if (argc > 0)
+		warning("kGetSaveDir called with a parameter");
+#endif
+
 	return make_reg(s->sys_strings_segment, SYS_STRING_SAVEDIR);
 }
 


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