mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +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)
|
||||
{
|
||||
var arc_name = Path.GetFileName (file.Name);
|
||||
var arc_name = Path.GetFileName (file.Name).ToLower();
|
||||
if (!arc_name.StartsWith ("data_") || !arc_name.EndsWith (".pack"))
|
||||
return null;
|
||||
ArchiveRecord arc_record;
|
||||
|
||||
Reference in New Issue
Block a user