mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Update serials and details objects
This commit is contained in:
@@ -279,7 +279,6 @@ namespace SabreTools.Core
|
||||
Configuration,
|
||||
Control,
|
||||
DataArea,
|
||||
Details,
|
||||
Device,
|
||||
DeviceReference,
|
||||
DipSwitch,
|
||||
@@ -298,6 +297,7 @@ namespace SabreTools.Core
|
||||
Port,
|
||||
RamOption,
|
||||
Release,
|
||||
ReleaseDetails,
|
||||
Sample,
|
||||
Serials,
|
||||
Setting,
|
||||
@@ -306,6 +306,7 @@ namespace SabreTools.Core
|
||||
SlotOption,
|
||||
SoftwareList,
|
||||
Sound,
|
||||
SourceDetails,
|
||||
|
||||
Blank = 99, // This is not a real type, only used internally
|
||||
}
|
||||
|
||||
@@ -977,14 +977,19 @@ namespace SabreTools.Core.Tools
|
||||
"port" => ItemType.Port,
|
||||
"ramoption" => ItemType.RamOption,
|
||||
"release" => ItemType.Release,
|
||||
"releasedetails" => ItemType.ReleaseDetails,
|
||||
"release_details" => ItemType.ReleaseDetails,
|
||||
"rom" => ItemType.Rom,
|
||||
"sample" => ItemType.Sample,
|
||||
"serials" => ItemType.Serials,
|
||||
"setting" => ItemType.Setting,
|
||||
"sharedfeat" => ItemType.SharedFeature,
|
||||
"slot" => ItemType.Slot,
|
||||
"slotoption" => ItemType.SlotOption,
|
||||
"softwarelist" => ItemType.SoftwareList,
|
||||
"sound" => ItemType.Sound,
|
||||
"sourcedetails" => ItemType.SourceDetails,
|
||||
"source_details" => ItemType.SourceDetails,
|
||||
_ => null,
|
||||
};
|
||||
}
|
||||
@@ -1675,14 +1680,17 @@ namespace SabreTools.Core.Tools
|
||||
ItemType.Port => "port",
|
||||
ItemType.RamOption => "ramoption",
|
||||
ItemType.Release => "release",
|
||||
ItemType.ReleaseDetails => "release_details",
|
||||
ItemType.Rom => "rom",
|
||||
ItemType.Sample => "sample",
|
||||
ItemType.Setting => "setting",
|
||||
ItemType.Serials => "sample",
|
||||
ItemType.Setting => "serials",
|
||||
ItemType.SharedFeature => "sharedfeat",
|
||||
ItemType.Slot => "slot",
|
||||
ItemType.SlotOption => "slotoption",
|
||||
ItemType.SoftwareList => "softwarelist",
|
||||
ItemType.Sound => "sound",
|
||||
ItemType.SourceDetails => "source_details",
|
||||
_ => null,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user