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:
@@ -23,6 +23,7 @@ namespace SabreTools.Library.FileTypes
|
||||
public byte[] SHA256 { get; set; }
|
||||
public byte[] SHA384 { get; set; }
|
||||
public byte[] SHA512 { get; set; }
|
||||
public byte[] SpamSum { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -60,6 +61,7 @@ namespace SabreTools.Library.FileTypes
|
||||
this.SHA256 = temp.SHA256;
|
||||
this.SHA384 = temp.SHA384;
|
||||
this.SHA512 = temp.SHA512;
|
||||
this.SpamSum = temp.SpamSum;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -90,6 +92,7 @@ namespace SabreTools.Library.FileTypes
|
||||
this.SHA256 = temp.SHA256;
|
||||
this.SHA384 = temp.SHA384;
|
||||
this.SHA512 = temp.SHA512;
|
||||
this.SpamSum = temp.SpamSum;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user