[CHDFile] Tidy code, fix a few things

This commit is contained in:
Matt Nadareski
2017-10-31 02:00:31 -07:00
parent c9cad432ad
commit 9c46dd6f01
3 changed files with 156 additions and 169 deletions

View File

@@ -129,7 +129,7 @@ namespace RombaSharp
if (lowerCaseDats.Contains(input.ToLowerInvariant()))
{
string fullpath = Path.GetFullPath(datRootDats[lowerCaseDats.IndexOf(input.ToLowerInvariant())]);
string sha1 = FileTools.GetFileInfo(fullpath).SHA1;
string sha1 = ((Rom)FileTools.GetFileInfo(fullpath)).SHA1;
foundDats.Add(sha1, fullpath);
}
else