[Scummvm-cvs-logs] SF.net SVN: scummvm:[47865] scummvm/trunk/engines/sci/resource.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Wed Feb 3 22:59:42 CET 2010


Revision: 47865
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47865&view=rev
Author:   m_kiewitz
Date:     2010-02-03 21:59:41 +0000 (Wed, 03 Feb 2010)

Log Message:
-----------
SCI: we checked first cel size when detecting hires instead of actual picture resolution, now checking correctly

Modified Paths:
--------------
    scummvm/trunk/engines/sci/resource.cpp

Modified: scummvm/trunk/engines/sci/resource.cpp
===================================================================
--- scummvm/trunk/engines/sci/resource.cpp	2010-02-03 19:55:14 UTC (rev 47864)
+++ scummvm/trunk/engines/sci/resource.cpp	2010-02-03 21:59:41 UTC (rev 47865)
@@ -1894,8 +1894,8 @@
 		if (res) {
 			if (READ_LE_UINT16(res->data) == 0x0e) {
 				// SCI32 picture
-				uint16 width = READ_LE_UINT16(res->data + 14);
-				uint16 height = READ_LE_UINT16(res->data + 16);
+				uint16 width = READ_LE_UINT16(res->data + 10);
+				uint16 height = READ_LE_UINT16(res->data + 12);
 				if ((width == 320) && ((height == 190) || (height == 200)))
 					return false;
 				if ((width >= 600) || (height >= 400))


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