diff options
author | sluicebox | 2019-10-23 21:08:24 -0700 |
---|---|---|
committer | sluicebox | 2019-10-23 21:08:24 -0700 |
commit | 9e6ad22c2a0295b232dd7b5d67dac7a09e910cb7 (patch) | |
tree | 57ce7820f6f20eb24547abb04680ae1c49660bf0 /engines/sci/resource.cpp | |
parent | 008e2b85b612f3bd4c953201fba33e000451fb2c (diff) | |
download | scummvm-rg350-9e6ad22c2a0295b232dd7b5d67dac7a09e910cb7.tar.gz scummvm-rg350-9e6ad22c2a0295b232dd7b5d67dac7a09e910cb7.tar.bz2 scummvm-rg350-9e6ad22c2a0295b232dd7b5d67dac7a09e910cb7.zip |
SCI32: Include Mac resource filenames with two digits
KQ7, Phant1, and others have more than 9 "Data" files
Diffstat (limited to 'engines/sci/resource.cpp')
-rw-r--r-- | engines/sci/resource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 89ab6e0329..765747b3df 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -640,7 +640,8 @@ int ResourceManager::addAppropriateSources() { } else if (Common::MacResManager::exists("Data1")) { // Mac SCI1.1+ file naming scheme Common::StringArray files; - Common::MacResManager::listFiles(files, "Data?"); + Common::MacResManager::listFiles(files, "Data#"); + Common::MacResManager::listFiles(files, "Data##"); for (Common::StringArray::const_iterator x = files.begin(); x != files.end(); ++x) { addSource(new MacResourceForkResourceSource(*x, atoi(x->c_str() + 4))); |