diff options
Diffstat (limited to 'engines/draci')
-rw-r--r-- | engines/draci/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/detection.cpp b/engines/draci/detection.cpp index e467935f48..ac809f8454 100644 --- a/engines/draci/detection.cpp +++ b/engines/draci/detection.cpp @@ -130,14 +130,14 @@ bool DraciMetaEngine::hasFeature(MetaEngineFeature f) const { SaveStateList DraciMetaEngine::listSaves(const char *target) const { Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); - Common::StringList filenames; + Common::StringArray filenames; Common::String pattern("draci.s??"); filenames = saveFileMan->listSavefiles(pattern); sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..) SaveStateList saveList; - for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); ++file) { + for (Common::StringArray::const_iterator file = filenames.begin(); file != filenames.end(); ++file) { // Obtain the last 2 digits of the filename, since they correspond to the save slot int slotNum = atoi(file->c_str() + file->size() - 2); |