[Scummvm-cvs-logs] SF.net SVN: scummvm:[50028] scummvm/trunk/engines/sci/graphics/view.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Fri Jun 18 20:55:17 CEST 2010
Revision: 50028
http://scummvm.svn.sourceforge.net/scummvm/?rev=50028&view=rev
Author: m_kiewitz
Date: 2010-06-18 18:55:17 +0000 (Fri, 18 Jun 2010)
Log Message:
-----------
SCI: fixing detection of vga sci11 views for ega games (original change in r50025)
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-06-18 18:49:06 UTC (rev 50027)
+++ scummvm/trunk/engines/sci/graphics/view.cpp 2010-06-18 18:55:17 UTC (rev 50028)
@@ -87,14 +87,10 @@
// caught by our undithering or even improve the graphics overall)
if (curViewType == kViewEga) {
if (_resourceData[1] == 0x80) {
- switch (READ_LE_UINT16(_resourceData + 4)) {
- case 0: // SCI1
- curViewType = kViewVga;
- break;
- case 1: // SCI1.1
+ curViewType = kViewVga;
+ } else {
+ if (READ_LE_UINT16(_resourceData + 4) == 1)
curViewType = kViewVga11;
- break;
- }
}
}
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