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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Jun 18 02:37:57 CEST 2010


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

Log Message:
-----------
Added warning about unhandled kGraph subop 1 (GK1CD)

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 00:36:20 UTC (rev 49978)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-06-18 00:37:56 UTC (rev 49979)
@@ -245,6 +245,11 @@
 	}
 
 	switch (argv[0].toSint16()) {
+	case 1:
+		// Happens in GK1CD, right when it starts
+		warning("Unsupported kGraph() operation %04x", argv[0].toSint16());
+		return s->r_acc;
+
 	case K_GRAPH_GET_COLORS_NR:
 		if (g_sci->getResMan()->isAmiga32color())
 			return make_reg(0, 32);


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