[Scummvm-cvs-logs] SF.net SVN: scummvm:[49980] scummvm/trunk/engines/sci/engine/kgraphics.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Jun 18 02:49:55 CEST 2010
Revision: 49980
http://scummvm.svn.sourceforge.net/scummvm/?rev=49980&view=rev
Author: thebluegr
Date: 2010-06-18 00:49:55 +0000 (Fri, 18 Jun 2010)
Log Message:
-----------
Fixed invalid memory read in 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:37:56 UTC (rev 49979)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-06-18 00:49:55 UTC (rev 49980)
@@ -246,9 +246,10 @@
switch (argv[0].toSint16()) {
case 1:
- // Happens in GK1CD, right when it starts
+ // TODO: Happens in GK1CD, right when it starts
warning("Unsupported kGraph() operation %04x", argv[0].toSint16());
- return s->r_acc;
+ // Returns an integer
+ return SIGNAL_REG;
case K_GRAPH_GET_COLORS_NR:
if (g_sci->getResMan()->isAmiga32color())
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