SCI: not using views coming from patch files anymore for detecting view type

svn-id: r50027
This commit is contained in:
Martin Kiewitz 2010-06-18 18:49:06 +00:00
parent 3197dfc033
commit 8c8ce14164

View File

@ -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