mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
use HasExtension method instead of string.EndsWith.
This commit is contained in:
@@ -87,7 +87,7 @@ namespace GameRes.Formats.NekoSDK
|
||||
entry.Size = file.View.ReadUInt32 (index_offset+4) ^ (uint)key;
|
||||
if (!entry.CheckPlacement (file.MaxOffset))
|
||||
return null;
|
||||
if (name.EndsWith (".alp", StringComparison.InvariantCultureIgnoreCase))
|
||||
if (name.HasExtension (".alp"))
|
||||
entry.Type = "";
|
||||
dir.Add (entry);
|
||||
index_offset += 8;
|
||||
|
||||
Reference in New Issue
Block a user