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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Jun 18 19:34:34 CEST 2010


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

Log Message:
-----------
Fixed invalid memory read in LSL6 hires - kRobot(1) returns an integer

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

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-06-18 17:20:09 UTC (rev 50023)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-06-18 17:34:34 UTC (rev 50024)
@@ -1265,6 +1265,9 @@
 			warning("kRobot(init), id %d, obj %04x:%04x, flag %d, x=%d, y=%d", id, PRINT_REG(obj), flag, x, y);
 			}
 			break;
+		case 1:	// LSL6 hires (startup)
+			// TODO
+			return NULL_REG;	// an integer is expected
 		case 4: {	// start
 				int id = argv[1].toUint16();
 				warning("kRobot(start), id %d", id);


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