mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-03 10:47:23 +02:00
CollectionInfoBuilder.cpp edited online with Bitbucket
This commit is contained in:
@@ -114,7 +114,7 @@ bool CollectionInfoBuilder::CreateCollectionDirectory(std::string name)
|
||||
|
||||
settingsFile << "# Uncomment and edit the following line to use a different ROM path." << std::endl;
|
||||
settingsFile << "#list.path = %BASE_ITEM_PATH%/%ITEM_COLLECTION_NAME%/roms" << std::endl;
|
||||
settingsFile << "list.includeMissingItems = false" << std::endl;
|
||||
settingsFile << "list.includeMissingItems = false" << std::endl;
|
||||
settingsFile << "list.extensions = zip" << std::endl;
|
||||
settingsFile << "launcher = mame" << std::endl;
|
||||
settingsFile << "metadata.type = MAME" << std::endl;
|
||||
@@ -308,8 +308,6 @@ bool CollectionInfoBuilder::ImportDirectory(CollectionInfo *info)
|
||||
|
||||
closedir(dp);
|
||||
|
||||
info->SortItems();
|
||||
|
||||
while(includeFilter.size() > 0)
|
||||
{
|
||||
std::map<std::string, Item *>::iterator it = includeFilter.begin();
|
||||
@@ -328,6 +326,8 @@ bool CollectionInfoBuilder::ImportDirectory(CollectionInfo *info)
|
||||
}
|
||||
|
||||
MetaDB.InjectMetadata(info);
|
||||
|
||||
info->SortItems();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user