mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Parse the new MAME machine flags
This commit is contained in:
@@ -1244,9 +1244,15 @@ namespace SabreTools.Helper.Dats
|
|||||||
{
|
{
|
||||||
Name = xtr.GetAttribute("name"),
|
Name = xtr.GetAttribute("name"),
|
||||||
Description = xtr.GetAttribute("name"),
|
Description = xtr.GetAttribute("name"),
|
||||||
|
|
||||||
RomOf = xtr.GetAttribute("romof") ?? "",
|
RomOf = xtr.GetAttribute("romof") ?? "",
|
||||||
CloneOf = xtr.GetAttribute("cloneof") ?? "",
|
CloneOf = xtr.GetAttribute("cloneof") ?? "",
|
||||||
SampleOf = xtr.GetAttribute("sampleof") ?? "",
|
SampleOf = xtr.GetAttribute("sampleof") ?? "",
|
||||||
|
|
||||||
|
IsBios = xtr.GetAttribute("isbios") == "yes",
|
||||||
|
IsDevice = xtr.GetAttribute("isdevice") == "yes",
|
||||||
|
IsMechanical = xtr.GetAttribute("ismechanical") == "yes",
|
||||||
|
Runnable = xtr.GetAttribute("runnable") == "yes",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (subreader.GetAttribute("supported") != null)
|
if (subreader.GetAttribute("supported") != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user