(noncolor): don't lower case filenames when reading file list.

This commit is contained in:
morkt 2018-05-20 08:13:09 +04:00
parent a63456338d
commit 974082076c

View File

@ -194,7 +194,7 @@ namespace GameRes.Formats.NonColor
{
var dict = new Dictionary<ulong, NameRecord>();
FormatCatalog.Instance.ReadFileList (scheme.FileListName, line => {
var bytes = line.ToLowerShiftJis();
var bytes = Encodings.cp932.GetBytes (line); // line.ToLowerShiftJis();
ulong hash = scheme.ComputeHash (bytes);
dict[hash] = new NameRecord { Name = line, NameBytes = bytes };
});