[Scummvm-cvs-logs] SF.net SVN: scummvm: [29244] scummvm/trunk/engines/scumm/thumbnail.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sun Oct 21 22:28:50 CEST 2007


Revision: 29244
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29244&view=rev
Author:   fingolfin
Date:     2007-10-21 13:28:50 -0700 (Sun, 21 Oct 2007)

Log Message:
-----------
Patch #1817080: Scumm savegame thumbnail loading patch

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/thumbnail.cpp

Modified: scummvm/trunk/engines/scumm/thumbnail.cpp
===================================================================
--- scummvm/trunk/engines/scumm/thumbnail.cpp	2007-10-21 19:49:01 UTC (rev 29243)
+++ scummvm/trunk/engines/scumm/thumbnail.cpp	2007-10-21 20:28:50 UTC (rev 29244)
@@ -79,9 +79,9 @@
 	}
 
 	Graphics::Surface *thumb = new Graphics::Surface();
-	thumb->create(header.width, header.height, sizeof(uint16));
+	thumb->create(header.width, header.height, sizeof(OverlayColor));
 
-	uint16* pixels = (uint16 *)thumb->pixels;
+	OverlayColor* pixels = (OverlayColor *)thumb->pixels;
 
 	for (int y = 0; y < thumb->h; ++y) {
 		for (int x = 0; x < thumb->w; ++x) {


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