mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
- Fixed memory leaks in cellRtc module.
- Fixed CPUThread crash. - Improved ARMv7 Interpreter.
This commit is contained in:
parent
3b15f35432
commit
6ea2c7d6a8
6 changed files with 949 additions and 729 deletions
|
@ -59,7 +59,7 @@ bool ELF32Loader::LoadEhdrInfo()
|
|||
return false;
|
||||
}
|
||||
|
||||
entry = ehdr.GetEntry() & ~0x3;
|
||||
entry = ehdr.GetEntry();
|
||||
if(entry == 0)
|
||||
{
|
||||
ConLog.Error("elf32 error: entry is null!");
|
||||
|
@ -86,10 +86,12 @@ bool ELF32Loader::LoadPhdrInfo()
|
|||
phdr_arr.Move(phdr);
|
||||
}
|
||||
|
||||
if(!Memory.IsGoodAddr(entry))
|
||||
if(/*!Memory.IsGoodAddr(entry)*/ entry & 0x1)
|
||||
{
|
||||
//entry is physical, convert to virtual
|
||||
|
||||
entry &= ~0x1;
|
||||
|
||||
for(size_t i=0; i<phdr_arr.GetCount(); ++i)
|
||||
{
|
||||
if(phdr_arr[i].p_paddr >= entry && entry < phdr_arr[i].p_paddr + phdr_arr[i].p_memsz)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue