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:
@@ -92,7 +92,7 @@ namespace GameRes.Formats.MoonhirGames
|
||||
entry.Size = file.View.ReadUInt32 (index_offset+8);
|
||||
if (!entry.CheckPlacement (file.MaxOffset))
|
||||
return null;
|
||||
if (name.EndsWith (".fbx", StringComparison.InvariantCultureIgnoreCase))
|
||||
if (name.HasExtension (".fbx"))
|
||||
entry.Type = "image";
|
||||
has_encrypted = has_encrypted || entry.IsEncrypted;
|
||||
dir.Add (entry);
|
||||
|
||||
Reference in New Issue
Block a user