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:
@@ -109,7 +109,7 @@ namespace GameRes.Formats.AZSys
|
||||
if (entry.CheckPlacement (file.MaxOffset))
|
||||
{
|
||||
dir.Add (entry);
|
||||
contains_scripts = contains_scripts || name.EndsWith (".asb", StringComparison.InvariantCultureIgnoreCase);
|
||||
contains_scripts = contains_scripts || name.HasExtension (".asb");
|
||||
}
|
||||
}
|
||||
index_offset += 0x40;
|
||||
|
||||
Reference in New Issue
Block a user