From 8c8ce14164c21210e05115ab6a8f4f3f8a1d0e20 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Fri, 18 Jun 2010 18:49:06 +0000 Subject: SCI: not using views coming from patch files anymore for detecting view type svn-id: r50027 --- engines/sci/resource.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/sci') diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 075d104f3e..a4eff573ab 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -1697,6 +1697,10 @@ ViewType ResourceManager::detectViewType() { Resource *res = findResource(ResourceId(kResourceTypeView, i), 0); if (res) { + // Skip views coming from patch files + if (res->_source->getSourceType() == kSourcePatch) + continue; + switch (res->data[1]) { case 128: // If the 2nd byte is 128, it's a VGA game -- cgit v1.2.3