diff --git a/gaseous-identifier/Classes/TosecParser.cs b/gaseous-identifier/Classes/TosecParser.cs index 7c54aaa..3baec42 100644 --- a/gaseous-identifier/Classes/TosecParser.cs +++ b/gaseous-identifier/Classes/TosecParser.cs @@ -86,7 +86,7 @@ namespace gaseous_identifier.classes var sha1 = SHA1.Create(); byte[] sha1HashByte = sha1.ComputeHash(xmlStream); - string sha1Hash = BitConverter.ToString(md5HashByte).Replace("-", "").ToLowerInvariant(); + string sha1Hash = BitConverter.ToString(sha1HashByte).Replace("-", "").ToLowerInvariant(); // load TOSEC file XmlDocument tosecXmlDoc = new XmlDocument(); diff --git a/gaseous-identifier/Program.cs b/gaseous-identifier/Program.cs index 48ad5ac..24e5a39 100644 --- a/gaseous-identifier/Program.cs +++ b/gaseous-identifier/Program.cs @@ -115,7 +115,7 @@ foreach (string romFile in romPathContents) var sha1 = SHA1.Create(); byte[] sha1HashByte = sha1.ComputeHash(stream); - string sha1Hash = BitConverter.ToString(md5HashByte).Replace("-", "").ToLowerInvariant(); + string sha1Hash = BitConverter.ToString(sha1HashByte).Replace("-", "").ToLowerInvariant(); bool gameFound = false; foreach (gaseous_identifier.objects.RomSignatureObject tosecList in romSignatures)