aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-31 00:13:16 +0000
committerFilippos Karapetis2010-01-31 00:13:16 +0000
commita7165c02c1bdd6a8b25fb573726240e8bcd021ec (patch)
treeb3b06d07cc1587ebaf9f86bbd4a6d53983cd9be6 /engines/sci
parent4a4b69dbeb8656e9e1bef132afa1bb2c42c378a3 (diff)
downloadscummvm-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/sci')
-rw-r--r--engines/sci/resource.cpp9
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