ElfObject: Fix inverted condition

This commit is contained in:
Connor McLaughlin
2023-06-29 00:32:06 +10:00
parent 3fbe704e21
commit b4250965e6
+1 -1
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++)
{