Use includeMissingItems parameter for sub collections as well. This removes the need to have the roms in the roms directory of the parent collection to fill the sub collection.

This commit is contained in:
Pieter Hulshoff 2016-09-14 10:53:35 +02:00
parent 176c75607a
commit 596c636eda

View File

@ -252,10 +252,7 @@ bool CollectionInfoBuilder::ImportDirectory(CollectionInfo *info, std::string me
ImportBasicList(info, mergedFile, includeFilter); ImportBasicList(info, mergedFile, includeFilter);
} }
else (void)conf_.getProperty("collections." + info->name + ".list.includeMissingItems", showMissing);
{
(void)conf_.getProperty("collections." + info->name + ".list.includeMissingItems", showMissing);
}
// If no merged file exists, or it is empty, attempt to use the include and exclude from the subcollection // If no merged file exists, or it is empty, attempt to use the include and exclude from the subcollection
// If this not a merged collection, the size will be 0 anyways and the code below will still execute // If this not a merged collection, the size will be 0 anyways and the code below will still execute