diff options
author | Filippos Karapetis | 2010-01-28 11:19:27 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-28 11:19:27 +0000 |
commit | 0b987fe0668e24c9c608c9c77763bb3d8a6e98fa (patch) | |
tree | 1240161e9202bfcab698961ce595fe594790e178 /engines | |
parent | 3f4ef3aff84c3aad0f8e0fd2336befe748ee155a (diff) | |
download | scummvm-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.cpp | 5 |
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 |