mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatItem] Forgot to check these
This commit is contained in:
@@ -22,14 +22,12 @@ namespace SabreTools.Library.Dats
|
|||||||
|
|
||||||
public new object Clone()
|
public new object Clone()
|
||||||
{
|
{
|
||||||
return new Archive()
|
Archive item = new Archive()
|
||||||
{
|
{
|
||||||
Name = this.Name,
|
Name = this.Name,
|
||||||
Type = this.Type,
|
Type = this.Type,
|
||||||
Dupe = this.Dupe,
|
Dupe = this.Dupe,
|
||||||
|
|
||||||
Machine = (Machine)this.Machine.Clone(),
|
|
||||||
|
|
||||||
Supported = this.Supported,
|
Supported = this.Supported,
|
||||||
Publisher = this.Publisher,
|
Publisher = this.Publisher,
|
||||||
Infos = this.Infos,
|
Infos = this.Infos,
|
||||||
@@ -44,6 +42,9 @@ namespace SabreTools.Library.Dats
|
|||||||
SourceID = this.SourceID,
|
SourceID = this.SourceID,
|
||||||
Source = this.Source,
|
Source = this.Source,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
item.CopyMachineInformation(this);
|
||||||
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -44,14 +44,12 @@ namespace SabreTools.Library.Dats
|
|||||||
|
|
||||||
public new object Clone()
|
public new object Clone()
|
||||||
{
|
{
|
||||||
return new BiosSet()
|
BiosSet item = new BiosSet()
|
||||||
{
|
{
|
||||||
Name = this.Name,
|
Name = this.Name,
|
||||||
Type = this.Type,
|
Type = this.Type,
|
||||||
Dupe = this.Dupe,
|
Dupe = this.Dupe,
|
||||||
|
|
||||||
Machine = (Machine)this.Machine.Clone(),
|
|
||||||
|
|
||||||
Supported = this.Supported,
|
Supported = this.Supported,
|
||||||
Publisher = this.Publisher,
|
Publisher = this.Publisher,
|
||||||
Infos = this.Infos,
|
Infos = this.Infos,
|
||||||
@@ -69,6 +67,9 @@ namespace SabreTools.Library.Dats
|
|||||||
Description = this.Description,
|
Description = this.Description,
|
||||||
Default = this.Default,
|
Default = this.Default,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
item.CopyMachineInformation(this);
|
||||||
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -73,14 +73,12 @@ namespace SabreTools.Library.Dats
|
|||||||
|
|
||||||
public new object Clone()
|
public new object Clone()
|
||||||
{
|
{
|
||||||
return new Disk()
|
Disk item = new Disk()
|
||||||
{
|
{
|
||||||
Name = this.Name,
|
Name = this.Name,
|
||||||
Type = this.Type,
|
Type = this.Type,
|
||||||
Dupe = this.Dupe,
|
Dupe = this.Dupe,
|
||||||
|
|
||||||
Machine = (Machine)this.Machine.Clone(),
|
|
||||||
|
|
||||||
Supported = this.Supported,
|
Supported = this.Supported,
|
||||||
Publisher = this.Publisher,
|
Publisher = this.Publisher,
|
||||||
Infos = this.Infos,
|
Infos = this.Infos,
|
||||||
@@ -102,6 +100,9 @@ namespace SabreTools.Library.Dats
|
|||||||
SHA512 = this.SHA512,
|
SHA512 = this.SHA512,
|
||||||
ItemStatus = this.ItemStatus,
|
ItemStatus = this.ItemStatus,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
item.CopyMachineInformation(this);
|
||||||
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -61,14 +61,12 @@ namespace SabreTools.Library.Dats
|
|||||||
|
|
||||||
public new object Clone()
|
public new object Clone()
|
||||||
{
|
{
|
||||||
return new Release()
|
Release item = new Release()
|
||||||
{
|
{
|
||||||
Name = this.Name,
|
Name = this.Name,
|
||||||
Type = this.Type,
|
Type = this.Type,
|
||||||
Dupe = this.Dupe,
|
Dupe = this.Dupe,
|
||||||
|
|
||||||
Machine = (Machine)this.Machine.Clone(),
|
|
||||||
|
|
||||||
Supported = this.Supported,
|
Supported = this.Supported,
|
||||||
Publisher = this.Publisher,
|
Publisher = this.Publisher,
|
||||||
Infos = this.Infos,
|
Infos = this.Infos,
|
||||||
@@ -88,6 +86,9 @@ namespace SabreTools.Library.Dats
|
|||||||
Date = this.Date,
|
Date = this.Date,
|
||||||
Default = this.Default,
|
Default = this.Default,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
item.CopyMachineInformation(this);
|
||||||
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -101,14 +101,12 @@ namespace SabreTools.Library.Dats
|
|||||||
|
|
||||||
public new object Clone()
|
public new object Clone()
|
||||||
{
|
{
|
||||||
return new Rom()
|
Rom item = new Rom()
|
||||||
{
|
{
|
||||||
Name = this.Name,
|
Name = this.Name,
|
||||||
Type = this.Type,
|
Type = this.Type,
|
||||||
Dupe = this.Dupe,
|
Dupe = this.Dupe,
|
||||||
|
|
||||||
Machine = (Machine)this.Machine.Clone(),
|
|
||||||
|
|
||||||
Supported = this.Supported,
|
Supported = this.Supported,
|
||||||
Publisher = this.Publisher,
|
Publisher = this.Publisher,
|
||||||
Infos = this.Infos,
|
Infos = this.Infos,
|
||||||
@@ -133,6 +131,9 @@ namespace SabreTools.Library.Dats
|
|||||||
CRC = _crc,
|
CRC = _crc,
|
||||||
Date = this.Date,
|
Date = this.Date,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
item.CopyMachineInformation(this);
|
||||||
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -23,14 +23,12 @@ namespace SabreTools.Library.Dats
|
|||||||
|
|
||||||
public new object Clone()
|
public new object Clone()
|
||||||
{
|
{
|
||||||
return new Sample()
|
Sample item = new Sample()
|
||||||
{
|
{
|
||||||
Name = this.Name,
|
Name = this.Name,
|
||||||
Type = this.Type,
|
Type = this.Type,
|
||||||
Dupe = this.Dupe,
|
Dupe = this.Dupe,
|
||||||
|
|
||||||
Machine = (Machine)this.Machine.Clone(),
|
|
||||||
|
|
||||||
Supported = this.Supported,
|
Supported = this.Supported,
|
||||||
Publisher = this.Publisher,
|
Publisher = this.Publisher,
|
||||||
Infos = this.Infos,
|
Infos = this.Infos,
|
||||||
@@ -45,6 +43,9 @@ namespace SabreTools.Library.Dats
|
|||||||
SourceID = this.SourceID,
|
SourceID = this.SourceID,
|
||||||
Source = this.Source,
|
Source = this.Source,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
item.CopyMachineInformation(this);
|
||||||
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user