mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-21 14:25:03 +00:00
Fix OpenMSX rom attribute parsing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user