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:
@@ -46,7 +46,7 @@ namespace GameRes.Formats.Entis
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
if (!file.Name.EndsWith (".pac", StringComparison.InvariantCultureIgnoreCase))
|
||||
if (!file.Name.HasExtension (".pac"))
|
||||
return null;
|
||||
uint index_offset = 0;
|
||||
var name_buf = new byte[0x18];
|
||||
|
||||
Reference in New Issue
Block a user