diff options
author | Colin Snover | 2017-05-09 00:25:02 -0500 |
---|---|---|
committer | Colin Snover | 2017-05-09 00:26:23 -0500 |
commit | c788642b72ea524d720e36b28bf9e87e7b06fd28 (patch) | |
tree | 19b8b184e72e901bab8246a5036e34bddc3b680b /engines | |
parent | b7638982c2a7b619494108224e956a95bec88f08 (diff) | |
download | scummvm-rg350-c788642b72ea524d720e36b28bf9e87e7b06fd28.tar.gz scummvm-rg350-c788642b72ea524d720e36b28bf9e87e7b06fd28.tar.bz2 scummvm-rg350-c788642b72ea524d720e36b28bf9e87e7b06fd28.zip |
SCI: Add ifdef for SCI32 types in processPatch
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index ccf576d51d..91cceb5968 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -1485,15 +1485,17 @@ void ResourceManager::processPatch(ResourceSource *source, ResourceType resource fileStream->seek(3, SEEK_SET); patchDataOffset += fileStream->readByte() + kExtraHeaderSize; break; - case kResourceTypeWave: case kResourceTypeAudio: case kResourceTypeAudio36: +#ifdef ENABLE_SCI32 + case kResourceTypeWave: case kResourceTypeVMD: case kResourceTypeDuck: case kResourceTypeClut: case kResourceTypeTGA: case kResourceTypeZZZ: case kResourceTypeEtc: +#endif patchDataOffset = 0; break; default: |