Skip to content

Commit

Permalink
(BONK): Fix LookupIndex function not handling filename case.
Browse files Browse the repository at this point in the history
  • Loading branch information
crskycode committed Jan 21, 2025
1 parent 0ff2dac commit ebb8084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArcFormats/Bonk/ArcPACK.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public override Stream OpenEntry (ArcFile arc, Entry entry)

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;
Expand Down

0 comments on commit ebb8084

Please sign in to comment.