[Scummvm-cvs-logs] SF.net SVN: scummvm:[53101] scummvm/trunk/engines/toon/picture.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Oct 9 13:33:29 CEST 2010


Revision: 53101
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53101&view=rev
Author:   eriktorbjorn
Date:     2010-10-09 11:33:29 +0000 (Sat, 09 Oct 2010)

Log Message:
-----------
TOON: Fix black spots in title picture.

A "full palette" is, presumably, 256 colours, not 255.

Modified Paths:
--------------
    scummvm/trunk/engines/toon/picture.cpp

Modified: scummvm/trunk/engines/toon/picture.cpp
===================================================================
--- scummvm/trunk/engines/toon/picture.cpp	2010-10-09 11:27:25 UTC (rev 53100)
+++ scummvm/trunk/engines/toon/picture.cpp	2010-10-09 11:33:29 UTC (rev 53101)
@@ -137,7 +137,7 @@
 	debugC(1, kDebugPicture, "setupPalette()");
 
 	if (_useFullPalette)
-		_vm->setPaletteEntries(_palette, 0, 255);
+		_vm->setPaletteEntries(_palette, 0, 256);
 	else
 		_vm->setPaletteEntries(_palette, 1, 128);
 }


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