feat: added metadata source field - this will determine the handling of the flags attribute

This commit is contained in:
Michael Green
2023-06-18 23:08:02 +10:00
parent 4413dccbdf
commit 00cc051dc6
12 changed files with 70 additions and 40 deletions

View File

@@ -365,6 +365,7 @@ namespace gaseous_signature_parser.parsers
romObject.Crc = xmlGameDetail.Attributes["crc"]?.Value;
romObject.Md5 = xmlGameDetail.Attributes["md5"]?.Value;
romObject.Sha1 = xmlGameDetail.Attributes["sha1"]?.Value;
romObject.SignatureSource = RomSignatureObject.Game.Rom.SignatureSourceType.TOSEC;
// parse name
string[] romNameTokens = romDescription.Split("(");