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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Dec 30 16:01:54 CET 2009


Revision: 46747
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46747&view=rev
Author:   thebluegr
Date:     2009-12-30 15:01:54 +0000 (Wed, 30 Dec 2009)

Log Message:
-----------
Fixed warnings

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

Modified: scummvm/trunk/engines/sci/engine/kernel32.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel32.cpp	2009-12-30 14:55:33 UTC (rev 46746)
+++ scummvm/trunk/engines/sci/engine/kernel32.cpp	2009-12-30 15:01:54 UTC (rev 46747)
@@ -634,6 +634,7 @@
 }
 
 reg_t kDeleteScreenItem(EngineState *s, int argc, reg_t *argv) {
+	/*
 	reg_t viewObj = argv[0];
 	uint16 viewId = GET_SEL32V(s->_segMan, viewObj, view);
 	int16 loopNo = GET_SEL32V(s->_segMan, viewObj, loop);
@@ -642,6 +643,7 @@
 	//int16 topPos = 0;
 	int16 priority = GET_SEL32V(s->_segMan, viewObj, priority);
 	//int16 control = 0;
+	*/
 
 	// TODO
 

Modified: scummvm/trunk/engines/sci/engine/klists.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/klists.cpp	2009-12-30 14:55:33 UTC (rev 46746)
+++ scummvm/trunk/engines/sci/engine/klists.cpp	2009-12-30 15:01:54 UTC (rev 46747)
@@ -689,7 +689,7 @@
 		case 22:
 			return kSort(s, argc - 1, argv + 1);
 		default:
-			warning("kList: Unhandled case %d");
+			warning("kList: Unhandled case %d", argv[0].toUint16());
 			return NULL_REG;
 	}
 


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