diff options
author | Filippos Karapetis | 2015-01-07 23:45:43 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-01-07 23:49:12 +0200 |
commit | 07ad10babe6eed96ac1d3ff8e9fc9580ec21b7bd (patch) | |
tree | 261bc0f12735a974245b7d775b3f13c62f0923fa /engines/zvision/file/search_manager.cpp | |
parent | 5e1702d60e4e6b6e618be36a64dc4ef563c80e47 (diff) | |
download | scummvm-rg350-07ad10babe6eed96ac1d3ff8e9fc9580ec21b7bd.tar.gz scummvm-rg350-07ad10babe6eed96ac1d3ff8e9fc9580ec21b7bd.tar.bz2 scummvm-rg350-07ad10babe6eed96ac1d3ff8e9fc9580ec21b7bd.zip |
ZVISION: Handle sound patches (.src files) dynamically
Diffstat (limited to 'engines/zvision/file/search_manager.cpp')
-rw-r--r-- | engines/zvision/file/search_manager.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/zvision/file/search_manager.cpp b/engines/zvision/file/search_manager.cpp index 626c7775a1..aecfff5208 100644 --- a/engines/zvision/file/search_manager.cpp +++ b/engines/zvision/file/search_manager.cpp @@ -62,19 +62,6 @@ SearchManager::~SearchManager() { _archList.clear(); } -void SearchManager::addPatch(const Common::String &src, const Common::String &dst) { - Common::String lowerCaseName = dst; - lowerCaseName.toLowercase(); - - SearchManager::MatchList::iterator it = _files.find(lowerCaseName); - - if (it != _files.end()) { - lowerCaseName = src; - lowerCaseName.toLowercase(); - _files[lowerCaseName] = it->_value; - } -} - void SearchManager::addFile(const Common::String &name, Common::Archive *arch) { bool addArch = true; Common::List<Common::Archive *>::iterator it = _archList.begin(); |