mirror of https://github.com/PCSX2/pcsx2.git
ElfObject: Fix inverted condition
This commit is contained in:
parent
3fbe704e21
commit
b4250965e6
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue