diff options
author | Colin Snover | 2017-05-10 15:29:10 -0500 |
---|---|---|
committer | Colin Snover | 2017-05-10 15:29:53 -0500 |
commit | ea6eebca09f9303cd08aa6d767123ba383c548e8 (patch) | |
tree | 27ceffdad276e2a0ed0c30e4ab7d4d7d0b174599 /engines/sci/resource.h | |
parent | 80e7eaa442b435d64ade13d175cfa05b762fa397 (diff) | |
download | scummvm-rg350-ea6eebca09f9303cd08aa6d767123ba383c548e8.tar.gz scummvm-rg350-ea6eebca09f9303cd08aa6d767123ba383c548e8.tar.bz2 scummvm-rg350-ea6eebca09f9303cd08aa6d767123ba383c548e8.zip |
SCI: Fix reading of Rave data from compressed KQ6 audio volumes
Refs Trac#9764.
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index d8651304be..2bbbd42a4a 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -520,7 +520,7 @@ protected: void loadResource(Resource *res); void freeOldResources(); bool validateResource(const ResourceId &resourceId, const Common::String &sourceMapLocation, const Common::String &sourceName, const uint32 offset, const uint32 size, const uint32 sourceSize) const; - void addResource(ResourceId resId, ResourceSource *src, uint32 offset, uint32 size = 0, const Common::String &sourceMapLocation = Common::String("(no map location)")); + Resource *addResource(ResourceId resId, ResourceSource *src, uint32 offset, uint32 size = 0, const Common::String &sourceMapLocation = Common::String("(no map location)")); Resource *updateResource(ResourceId resId, ResourceSource *src, uint32 size, const Common::String &sourceMapLocation = Common::String("(no map location)")); Resource *updateResource(ResourceId resId, ResourceSource *src, uint32 offset, uint32 size, const Common::String &sourceMapLocation = Common::String("(no map location)")); void removeAudioResource(ResourceId resId); |