mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
ElfObject: Fix inverted condition
This commit is contained in:
+1
-1
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user