Fix OpenMSX rom attribute parsing

This commit is contained in:
Matt Nadareski
2026-09-18 10:34:40 -04:00
parent 3c0c31cf10
commit d9dd16fbb9
2 changed files with 15 additions and 2 deletions

View File

@@ -226,6 +226,11 @@ namespace SabreTools.Serialization.Readers
else
return null;
obj.SHA1 = reader.GetAttribute("sha1");
obj.Type = reader.GetAttribute("type");
obj.Status = reader.GetAttribute("status");
obj.Remark = reader.GetAttribute("remark");
// Handle empty elements
if (reader.IsEmptyElement)
return obj;