Skip to content

Commit

Permalink
ElfObject: Fix inverted condition
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jun 28, 2023
1 parent 3fbe704 commit b425096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/Elfheader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ u32 ElfObject::getEntryPoint()

std::pair<u32,u32> ElfObject::getTextRange()
{
if (isPSXElf && hasProgramHeaders())
if (!isPSXElf && hasProgramHeaders())
{
for (int i = 0; i < header.e_phnum; i++)
{
Expand Down

0 comments on commit b425096

Please sign in to comment.