mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
SPU ELF loading
I'm not sure that it's correct way to get entry point
This commit is contained in:
parent
65c920bc8d
commit
c48168ffc7
7 changed files with 13 additions and 2 deletions
|
@ -186,6 +186,8 @@ bool ELF64Loader::LoadShdrInfo(s64 offset)
|
|||
}
|
||||
|
||||
shdr_name_arr.Add(name);
|
||||
if(name == ".text")
|
||||
_text_section_offset = shdr_arr[i].sh_offset;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -371,6 +373,7 @@ bool ELF64Loader::LoadPhdrData(u64 offset)
|
|||
if(!module->Load(nid))
|
||||
{
|
||||
ConLog.Warning("Unknown function 0x%08x in '%s' module", nid, module_name.mb_str());
|
||||
SysCalls::DoFunc(nid);
|
||||
}
|
||||
}
|
||||
#ifdef LOADER_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue