(noncolor): filenames encoding handling.

This commit is contained in:
morkt
2018-07-06 15:25:57 +04:00
parent 21e8f2da14
commit c3b3bb0ee3
2 changed files with 13 additions and 2 deletions

View File

@@ -38,7 +38,9 @@ namespace GameRes.Formats.Minato
public override ulong ComputeHash (byte[] name)
{
return Crc32.Compute (name, 0, name.Length);
var bytes = name.Clone() as byte[];
bytes.ToLowerShiftJis();
return Crc32.Compute (bytes, 0, bytes.Length);
}
}