mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
SCI: Cleanup: Use Common::StringArray instead of custom type.
This commit is contained in:
parent
b8fb9e6a51
commit
b6a8907edf
@ -586,10 +586,10 @@ int ResourceManager::addAppropriateSources() {
|
||||
#endif
|
||||
} else if (Common::MacResManager::exists("Data1")) {
|
||||
// Mac SCI1.1+ file naming scheme
|
||||
Common::Array<Common::String> files;
|
||||
Common::StringArray files;
|
||||
Common::MacResManager::listFiles(files, "Data?");
|
||||
|
||||
for (Common::Array<Common::String>::const_iterator x = files.begin(); x != files.end(); ++x) {
|
||||
for (Common::StringArray::const_iterator x = files.begin(); x != files.end(); ++x) {
|
||||
addSource(new MacResourceForkResourceSource(*x, atoi(x->c_str() + 4)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user