Skip to content

Commit

Permalink
Match Pgb3Archive::GetEntrySize
Browse files Browse the repository at this point in the history
84% -> 100%
  • Loading branch information
KSSBrawl committed Nov 14, 2024
1 parent 4fa4c16 commit 9e472fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pbg3/Pbg3Archive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ i32 Pbg3Archive::FindEntry(char *path)

u32 Pbg3Archive::GetEntrySize(u32 entryIdx)
{
if (this->numOfEntries <= entryIdx)
if (entryIdx >= this->numOfEntries)
{
return 0;
}
Expand Down

0 comments on commit 9e472fb

Please sign in to comment.