mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Simplification for filter
This commit is contained in:
@@ -848,6 +848,10 @@ namespace SabreTools.Library.DatFiles
|
|||||||
if (item == null)
|
if (item == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// If the item is already filtered out, we skip
|
||||||
|
if (item.Remove)
|
||||||
|
continue;
|
||||||
|
|
||||||
// If the rom doesn't pass the filter, mark for removal
|
// If the rom doesn't pass the filter, mark for removal
|
||||||
if (!item.PassesFilter(filter))
|
if (!item.PassesFilter(filter))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user