mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add conversion helpers, fix build
This commit is contained in:
@@ -248,9 +248,8 @@ namespace SabreTools.DatItems.Formats
|
||||
/// <returns></returns>
|
||||
public Rom ConvertToRom()
|
||||
{
|
||||
var rom = new Rom()
|
||||
var rom = new Rom(_disk.ConvertToRom())
|
||||
{
|
||||
Name = this.Name + ".chd",
|
||||
ItemType = ItemType.Rom,
|
||||
DupeType = this.DupeType,
|
||||
|
||||
@@ -258,14 +257,6 @@ namespace SabreTools.DatItems.Formats
|
||||
Source = this.Source?.Clone() as Source,
|
||||
Remove = this.Remove,
|
||||
|
||||
MergeTag = this.MergeTag,
|
||||
Region = this.Region,
|
||||
ItemStatus = this.ItemStatus,
|
||||
Optional = this.Optional,
|
||||
|
||||
MD5 = this.MD5,
|
||||
SHA1 = this.SHA1,
|
||||
|
||||
DataArea = new DataArea { Name = this.DiskArea?.Name },
|
||||
Part = this.Part,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user