mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(noncolor): filenames encoding handling.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user