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()
|
||||
{
|
||||
return new Archive()
|
||||
Archive item = new Archive()
|
||||
{
|
||||
Name = this.Name,
|
||||
Type = this.Type,
|
||||
Dupe = this.Dupe,
|
||||
|
||||
Machine = (Machine)this.Machine.Clone(),
|
||||
|
||||
Supported = this.Supported,
|
||||
Publisher = this.Publisher,
|
||||
Infos = this.Infos,
|
||||
@@ -44,6 +42,9 @@ namespace SabreTools.Library.Dats
|
||||
SourceID = this.SourceID,
|
||||
Source = this.Source,
|
||||
};
|
||||
|
||||
item.CopyMachineInformation(this);
|
||||
return item;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -44,14 +44,12 @@ namespace SabreTools.Library.Dats
|
||||
|
||||
public new object Clone()
|
||||
{
|
||||
return new BiosSet()
|
||||
BiosSet item = new BiosSet()
|
||||
{
|
||||
Name = this.Name,
|
||||
Type = this.Type,
|
||||
Dupe = this.Dupe,
|
||||
|
||||
Machine = (Machine)this.Machine.Clone(),
|
||||
|
||||
Supported = this.Supported,
|
||||
Publisher = this.Publisher,
|
||||
Infos = this.Infos,
|
||||
@@ -69,6 +67,9 @@ namespace SabreTools.Library.Dats
|
||||
Description = this.Description,
|
||||
Default = this.Default,
|
||||
};
|
||||
|
||||
item.CopyMachineInformation(this);
|
||||
return item;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -73,14 +73,12 @@ namespace SabreTools.Library.Dats
|
||||
|
||||
public new object Clone()
|
||||
{
|
||||
return new Disk()
|
||||
Disk item = new Disk()
|
||||
{
|
||||
Name = this.Name,
|
||||
Type = this.Type,
|
||||
Dupe = this.Dupe,
|
||||
|
||||
Machine = (Machine)this.Machine.Clone(),
|
||||
|
||||
Supported = this.Supported,
|
||||
Publisher = this.Publisher,
|
||||
Infos = this.Infos,
|
||||
@@ -102,6 +100,9 @@ namespace SabreTools.Library.Dats
|
||||
SHA512 = this.SHA512,
|
||||
ItemStatus = this.ItemStatus,
|
||||
};
|
||||
|
||||
item.CopyMachineInformation(this);
|
||||
return item;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -61,14 +61,12 @@ namespace SabreTools.Library.Dats
|
||||
|
||||
public new object Clone()
|
||||
{
|
||||
return new Release()
|
||||
Release item = new Release()
|
||||
{
|
||||
Name = this.Name,
|
||||
Type = this.Type,
|
||||
Dupe = this.Dupe,
|
||||
|
||||
Machine = (Machine)this.Machine.Clone(),
|
||||
|
||||
Supported = this.Supported,
|
||||
Publisher = this.Publisher,
|
||||
Infos = this.Infos,
|
||||
@@ -88,6 +86,9 @@ namespace SabreTools.Library.Dats
|
||||
Date = this.Date,
|
||||
Default = this.Default,
|
||||
};
|
||||
|
||||
item.CopyMachineInformation(this);
|
||||
return item;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -101,14 +101,12 @@ namespace SabreTools.Library.Dats
|
||||
|
||||
public new object Clone()
|
||||
{
|
||||
return new Rom()
|
||||
Rom item = new Rom()
|
||||
{
|
||||
Name = this.Name,
|
||||
Type = this.Type,
|
||||
Dupe = this.Dupe,
|
||||
|
||||
Machine = (Machine)this.Machine.Clone(),
|
||||
|
||||
Supported = this.Supported,
|
||||
Publisher = this.Publisher,
|
||||
Infos = this.Infos,
|
||||
@@ -133,6 +131,9 @@ namespace SabreTools.Library.Dats
|
||||
CRC = _crc,
|
||||
Date = this.Date,
|
||||
};
|
||||
|
||||
item.CopyMachineInformation(this);
|
||||
return item;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -23,14 +23,12 @@ namespace SabreTools.Library.Dats
|
||||
|
||||
public new object Clone()
|
||||
{
|
||||
return new Sample()
|
||||
Sample item = new Sample()
|
||||
{
|
||||
Name = this.Name,
|
||||
Type = this.Type,
|
||||
Dupe = this.Dupe,
|
||||
|
||||
Machine = (Machine)this.Machine.Clone(),
|
||||
|
||||
Supported = this.Supported,
|
||||
Publisher = this.Publisher,
|
||||
Infos = this.Infos,
|
||||
@@ -45,6 +43,9 @@ namespace SabreTools.Library.Dats
|
||||
SourceID = this.SourceID,
|
||||
Source = this.Source,
|
||||
};
|
||||
|
||||
item.CopyMachineInformation(this);
|
||||
return item;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user