mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
ppu_analyse: use entry point
This commit is contained in:
parent
adefd1fd63
commit
d7c66fc949
3 changed files with 10 additions and 4 deletions
|
@ -802,7 +802,7 @@ std::shared_ptr<lv2_prx> ppu_load_prx(const ppu_prx_object& elf, const std::stri
|
|||
|
||||
ppu_load_imports(link, lib_info->imports_start, lib_info->imports_end);
|
||||
|
||||
prx->funcs = ppu_analyse(segments, sections, lib_info->toc);
|
||||
prx->funcs = ppu_analyse(segments, sections, lib_info->toc, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1269,7 +1269,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
|||
|
||||
{
|
||||
// Analyse executable
|
||||
std::vector<ppu_function> main_funcs = ppu_analyse(segments, sections, vm::read32(elf.header.e_entry + 4));
|
||||
std::vector<ppu_function> main_funcs = ppu_analyse(segments, sections, 0, elf.header.e_entry);
|
||||
|
||||
ppu_validate(vfs::get(Emu.GetPath()), main_funcs, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue