mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
IsGood() check elimination
Reasons: 1) It's unsafe - we cannot guarantee that address is still good while it is used. 2) It's wrong in many modules which are usually just compare pointer with zero.
This commit is contained in:
parent
48514b0e93
commit
8f04ab07ed
52 changed files with 104 additions and 1450 deletions
|
@ -138,7 +138,7 @@ bool ELF32Loader::LoadPhdrInfo()
|
|||
phdr_arr.back().Load(elf32_f);
|
||||
}
|
||||
|
||||
if(/*!Memory.IsGoodAddr(entry)*/ entry & 0x1)
|
||||
if(entry & 0x1)
|
||||
{
|
||||
//entry is physical, convert to virtual
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue