mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(BONK): Fix LookupIndex function not handling filename case.
This commit is contained in:
@@ -76,7 +76,7 @@ namespace GameRes.Formats.Bonk
|
|||||||
|
|
||||||
IEnumerable<IndexRecord> LookupIndex (ArcView file)
|
IEnumerable<IndexRecord> LookupIndex (ArcView file)
|
||||||
{
|
{
|
||||||
var arc_name = Path.GetFileName (file.Name);
|
var arc_name = Path.GetFileName (file.Name).ToLower();
|
||||||
if (!arc_name.StartsWith ("data_") || !arc_name.EndsWith (".pack"))
|
if (!arc_name.StartsWith ("data_") || !arc_name.EndsWith (".pack"))
|
||||||
return null;
|
return null;
|
||||||
ArchiveRecord arc_record;
|
ArchiveRecord arc_record;
|
||||||
|
|||||||
Reference in New Issue
Block a user