mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Promote SoftwareList
This commit is contained in:
@@ -53,7 +53,7 @@ namespace SabreTools.Library.DatItems
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Create a default, empty Sample object
|
||||
/// Create a default, empty BiosSet object
|
||||
/// </summary>
|
||||
public BiosSet()
|
||||
{
|
||||
@@ -106,14 +106,14 @@ namespace SabreTools.Library.DatItems
|
||||
|
||||
public override bool Equals(DatItem other)
|
||||
{
|
||||
// If we don't have a biosset, return false
|
||||
// If we don't have a BiosSet, return false
|
||||
if (ItemType != other.ItemType)
|
||||
return false;
|
||||
|
||||
// Otherwise, treat it as a biosset
|
||||
// Otherwise, treat it as a BiosSet
|
||||
BiosSet newOther = other as BiosSet;
|
||||
|
||||
// If the archive information matches
|
||||
// If the BiosSet information matches
|
||||
return (Name == newOther.Name && Description == newOther.Description && Default == newOther.Default);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user