mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add and use SpamSum for Media and Rom types
SpamSum implementation courtesy of https://github.com/aaru-dps/Aaru
This commit is contained in:
@@ -114,6 +114,7 @@ namespace SabreTools.Library.Filtering
|
||||
public FilterItem<string> DatItem_SHA256 { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<string> DatItem_SHA384 { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<string> DatItem_SHA512 { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<string> DatItem_SpamSum { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<string> DatItem_Merge { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<string> DatItem_Region { get; private set; } = new FilterItem<string>();
|
||||
public FilterItem<string> DatItem_Offset { get; private set; } = new FilterItem<string>();
|
||||
@@ -584,6 +585,10 @@ namespace SabreTools.Library.Filtering
|
||||
SetStringFilter(DatItem_SHA512, value, negate);
|
||||
break;
|
||||
|
||||
case Field.DatItem_SpamSum:
|
||||
SetStringFilter(DatItem_SpamSum, value, negate);
|
||||
break;
|
||||
|
||||
case Field.DatItem_Merge:
|
||||
SetStringFilter(DatItem_Merge, value, negate);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user