[DatFile] Parse the new MAME machine flags

This commit is contained in:
Matt Nadareski
2017-01-08 22:11:30 -08:00
parent 05aacb2054
commit 6419f8af5f

View File

@@ -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)