[Scummvm-cvs-logs] SF.net SVN: scummvm:[47035] scummvm/trunk/engines/sci/graphics/view.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Jan 5 20:55:05 CET 2010


Revision: 47035
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47035&view=rev
Author:   m_kiewitz
Date:     2010-01-05 19:55:05 +0000 (Tue, 05 Jan 2010)

Log Message:
-----------
SCI: removed uint16 limit within view class (allows hires views)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/view.cpp

Modified: scummvm/trunk/engines/sci/graphics/view.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/view.cpp	2010-01-05 19:52:50 UTC (rev 47034)
+++ scummvm/trunk/engines/sci/graphics/view.cpp	2010-01-05 19:55:05 UTC (rev 47035)
@@ -363,8 +363,7 @@
 	uint16 width = _loop[loopNo].cel[celNo].width;
 	uint16 height = _loop[loopNo].cel[celNo].height;
 	// allocating memory to store cel's bitmap
-	assert(width * height <= 64000);
-	uint16 pixelCount = width * height;
+	int pixelCount = width * height;
 	_loop[loopNo].cel[celNo].rawBitmap = new byte[pixelCount];
 	byte *pBitmap = _loop[loopNo].cel[celNo].rawBitmap;
 


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