ElfObject: Fix inverted condition

This commit is contained in:
Connor McLaughlin 2023-06-28 21:00:12 +10:00
parent 3fbe704e21
commit b4250965e6
1 changed files with 1 additions and 1 deletions

View File

@ -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++)
{