mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Smarter filtering
This commit is contained in:
@@ -716,10 +716,10 @@ namespace SabreTools.DatFiles
|
|||||||
RemoveBucket(key);
|
RemoveBucket(key);
|
||||||
|
|
||||||
// Now add each of the roms to their respective keys
|
// Now add each of the roms to their respective keys
|
||||||
for (int i = 0; i < GetItemsForBucket(key, filter: true).Count; i++)
|
for (int i = 0; i < GetItemsForBucket(key).Count; i++)
|
||||||
{
|
{
|
||||||
DatItem item = GetItemsForBucket(key, filter: true)[i];
|
DatItem item = GetItemsForBucket(key)[i];
|
||||||
if (item == null)
|
if (item == null || item.GetBoolFieldValue(DatItem.RemoveKey) == true)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// We want to get the key most appropriate for the given sorting type
|
// We want to get the key most appropriate for the given sorting type
|
||||||
|
|||||||
Reference in New Issue
Block a user