mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
SCI: not using views coming from patch files anymore for detecting view type
svn-id: r50027
This commit is contained in:
parent
3197dfc033
commit
8c8ce14164
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user