diff options
author | Filippos Karapetis | 2010-01-31 00:13:16 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-31 00:13:16 +0000 |
commit | a7165c02c1bdd6a8b25fb573726240e8bcd021ec (patch) | |
tree | b3b06d07cc1587ebaf9f86bbd4a6d53983cd9be6 /engines | |
parent | 4a4b69dbeb8656e9e1bef132afa1bb2c42c378a3 (diff) | |
download | scummvm-rg350-a7165c02c1bdd6a8b25fb573726240e8bcd021ec.tar.gz scummvm-rg350-a7165c02c1bdd6a8b25fb573726240e8bcd021ec.tar.bz2 scummvm-rg350-a7165c02c1bdd6a8b25fb573726240e8bcd021ec.zip |
Removed the hack for kResourceTypeRobot patch files
svn-id: r47730
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 5d86506dd1..d4715ca492 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -1057,12 +1057,11 @@ void ResourceManager::readResourcePatches(ResourceSource *source) { const char *szResType; ResourceSource *psrcPatch; - // Do not try and patch files for resource types greater or - // equal to audio36 (i.e. audio36, sync36, robot etc), as these won't work - // with this patch scheme for (int i = kResourceTypeView; i <= kResourceTypeRobot; ++i) { - if (i == kResourceTypeAudio36) - i = kResourceTypeRobot; // m_kiewitz: i need robot files for testing :) TODO: remove when RE complete + // TODO: add support for audio36 and sync36 files + if (i == kResourceTypeAudio36 || i == kResourceTypeSync36) + continue; + files.clear(); szResType = getResourceTypeName((ResourceType)i); // SCI0 naming - type.nnn |