From 596c636eda731b2ff21f6d8e53d497b44913253c Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Wed, 14 Sep 2016 10:53:35 +0200 Subject: [PATCH] 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. --- RetroFE/Source/Collection/CollectionInfoBuilder.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/RetroFE/Source/Collection/CollectionInfoBuilder.cpp b/RetroFE/Source/Collection/CollectionInfoBuilder.cpp index 1f38e7a..4e7469a 100644 --- a/RetroFE/Source/Collection/CollectionInfoBuilder.cpp +++ b/RetroFE/Source/Collection/CollectionInfoBuilder.cpp @@ -252,10 +252,7 @@ bool CollectionInfoBuilder::ImportDirectory(CollectionInfo *info, std::string me 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 this not a merged collection, the size will be 0 anyways and the code below will still execute