aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-28 11:19:27 +0000
committerFilippos Karapetis2010-01-28 11:19:27 +0000
commit0b987fe0668e24c9c608c9c77763bb3d8a6e98fa (patch)
tree1240161e9202bfcab698961ce595fe594790e178 /engines
parent3f4ef3aff84c3aad0f8e0fd2336befe748ee155a (diff)
downloadscummvm-rg350-0b987fe0668e24c9c608c9c77763bb3d8a6e98fa.tar.gz
scummvm-rg350-0b987fe0668e24c9c608c9c77763bb3d8a6e98fa.tar.bz2
scummvm-rg350-0b987fe0668e24c9c608c9c77763bb3d8a6e98fa.zip
Added support for the SCI2.1 resource patches (resmap.pat and ressci.pat). GK2 goes a bit further now (but still dies because of a new script opcode)
svn-id: r47641
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/resource.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 64b4d762ef..772cc73a52 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -422,6 +422,11 @@ int ResourceManager::addAppropriateSources() {
}
}
}
+
+ // SCI2.1 resource patches
+ if (Common::File::exists("RESMAP.PAT") && Common::File::exists("RESSCI.PAT")) {
+ addSource(addExternalMap("RESMAP.PAT", 65535), kSourceVolume, "RESSCI.PAT", 65535);
+ }
}
#else
} else