[Scummvm-cvs-logs] SF.net SVN: scummvm:[49978] scummvm/trunk/engines/sci/resource.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Jun 18 02:36:20 CEST 2010
Revision: 49978
http://scummvm.svn.sourceforge.net/scummvm/?rev=49978&view=rev
Author: thebluegr
Date: 2010-06-18 00:36:20 +0000 (Fri, 18 Jun 2010)
Log Message:
-----------
Fixed a bug in detectHires(), so that it actually works
Modified Paths:
--------------
scummvm/trunk/engines/sci/resource.cpp
Modified: scummvm/trunk/engines/sci/resource.cpp
===================================================================
--- scummvm/trunk/engines/sci/resource.cpp 2010-06-18 00:18:26 UTC (rev 49977)
+++ scummvm/trunk/engines/sci/resource.cpp 2010-06-18 00:36:20 UTC (rev 49978)
@@ -1909,8 +1909,8 @@
if (res) {
if (READ_LE_UINT16(res->data) == 0x0e) {
// SCI32 picture
- uint16 width = READ_LE_UINT16(res->data + 10);
- uint16 height = READ_LE_UINT16(res->data + 12);
+ uint16 width = READ_LE_UINT16(res->data + 14);
+ uint16 height = READ_LE_UINT16(res->data + 16);
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