diff options
author | Colin Snover | 2017-07-23 23:05:31 -0500 |
---|---|---|
committer | Colin Snover | 2017-07-24 19:36:28 -0500 |
commit | 4c316d45fd2181517ee40aeff1b0b749ec62bf42 (patch) | |
tree | bee89ff80b6d7e12b5baef44636c4c26815dfbf9 /engines/sci/resource.h | |
parent | 64cbcba420843aa1bb0888b15592ad08fa17dc59 (diff) | |
download | scummvm-rg350-4c316d45fd2181517ee40aeff1b0b749ec62bf42.tar.gz scummvm-rg350-4c316d45fd2181517ee40aeff1b0b749ec62bf42.tar.bz2 scummvm-rg350-4c316d45fd2181517ee40aeff1b0b749ec62bf42.zip |
SCI32: Fix ResourceManager::changeAudioDirectory
Fixes Trac#9577.
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 8e91a601dc..bdf46efc62 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -380,7 +380,7 @@ public: void setAudioLanguage(int language); int getAudioLanguage() const; - void changeAudioDirectory(const Common::String &path); + void changeAudioDirectory(Common::String path); bool isGMTrackIncluded(); bool isSci11Mac() const { return _volVersion == kResVersionSci11Mac; } ViewType getViewType() const { return _viewType; } @@ -465,7 +465,8 @@ protected: int _maxMemoryLRU; ViewType _viewType; // Used to determine if the game has EGA or VGA graphics - Common::List<ResourceSource *> _sources; + typedef Common::List<ResourceSource *> SourcesList; + SourcesList _sources; int _memoryLocked; ///< Amount of resource bytes in locked memory int _memoryLRU; ///< Amount of resource bytes under LRU control Common::List<Resource *> _LRU; ///< Last Resource Used list |