diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.h | 2 | ||||
-rw-r--r-- | engines/sci/resource_audio.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index b869c7a627..d8651304be 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -571,7 +571,7 @@ protected: * Process wave files as patches for Audio resources. */ void readWaveAudioPatches(); - void processWavePatch(ResourceId resourceId, Common::String name); + void processWavePatch(ResourceId resourceId, const Common::String &name); /** * Applies to all versions before 0.000.395 (i.e. KQ4 old, XMAS 1988 and LSL2). diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp index 6e932526eb..a5501cdb84 100644 --- a/engines/sci/resource_audio.cpp +++ b/engines/sci/resource_audio.cpp @@ -196,7 +196,7 @@ void ResourceManager::addNewGMPatch(SciGameId gameId) { } } -void ResourceManager::processWavePatch(ResourceId resourceId, Common::String name) { +void ResourceManager::processWavePatch(ResourceId resourceId, const Common::String &name) { ResourceSource *resSrc = new WaveResourceSource(name); Common::File file; file.open(name); |