aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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