mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add No-Intro MIA support
This commit is contained in:
@@ -51,11 +51,13 @@ namespace SabreTools.Filtering
|
||||
public FilterItem<string> Rotation { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<string> Summation { get; private set; } = new FilterItem<string>();
|
||||
|
||||
|
||||
// Rom (AttractMode)
|
||||
public FilterItem<string> AltName { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<string> AltTitle { get; private set; } = new FilterItem<string>();
|
||||
|
||||
// Rom (Logiqx)
|
||||
public FilterItem<bool?> MIA { get; private set; } = new FilterItem<bool?>();
|
||||
|
||||
// Rom (OpenMSX)
|
||||
public FilterItem<string> Original { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<OpenMSXSubType> OpenMSXSubType { get; private set; } = new FilterItem<OpenMSXSubType>() { Positive = Core.OpenMSXSubType.NULL, Negative = Core.OpenMSXSubType.NULL };
|
||||
@@ -368,6 +370,11 @@ namespace SabreTools.Filtering
|
||||
SetStringFilter(AltTitle, value, negate);
|
||||
break;
|
||||
|
||||
// Rom (Logiqx)
|
||||
case DatItemField.MIA:
|
||||
SetBooleanFilter(MIA, value, negate);
|
||||
break;
|
||||
|
||||
// Rom (OpenMSX)
|
||||
case DatItemField.Original:
|
||||
SetStringFilter(Original, value, negate);
|
||||
@@ -1855,6 +1862,14 @@ namespace SabreTools.Filtering
|
||||
|
||||
#endregion
|
||||
|
||||
#region Logiqx
|
||||
|
||||
// Filter on MIA>
|
||||
if (!PassBoolFilter(MIA, rom.MIA))
|
||||
return false;
|
||||
|
||||
#endregion
|
||||
|
||||
#region OpenMSX
|
||||
|
||||
// Filter on original
|
||||
|
||||
Reference in New Issue
Block a user