mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-16 03:38:53 +01:00
Collections were doubly inserted when list.showMissing was set to true.
This commit is contained in:
parent
40e19255c9
commit
e8ff6b7838
@ -281,7 +281,7 @@ bool CollectionInfoBuilder::ImportDirectory(CollectionInfo *info)
|
|||||||
|
|
||||||
// if there is an include list, only include roms that are found and are in the include list
|
// if there is an include list, only include roms that are found and are in the include list
|
||||||
// if there is an exclude list, exclude those roms
|
// if there is an exclude list, exclude those roms
|
||||||
if((includeFilter.size() == 0 || includeFilter.find(basename) != includeFilter.end()) &&
|
if((includeFilter.size() == 0 || (!showMissing && includeFilter.find(basename) != includeFilter.end())) &&
|
||||||
(excludeFilter.size() == 0 || excludeFilter.find(basename) == excludeFilter.end()))
|
(excludeFilter.size() == 0 || excludeFilter.find(basename) == excludeFilter.end()))
|
||||||
{
|
{
|
||||||
// iterate through all known file extensions
|
// iterate through all known file extensions
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user