mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
GetMemFromAddr, VirtualToRealAddr replaced
Some arg types changed
This commit is contained in:
parent
f298d0451e
commit
225dba754d
33 changed files with 263 additions and 185 deletions
|
@ -418,7 +418,7 @@ bool ELF64Loader::LoadPhdrData(u64 offset)
|
|||
|
||||
for(u32 s=proc_prx_param.libstubstart; s<proc_prx_param.libstubend; s+=sizeof(Elf64_StubHeader))
|
||||
{
|
||||
Elf64_StubHeader stub = *(Elf64_StubHeader*)Memory.GetMemFromAddr(offset + s);
|
||||
Elf64_StubHeader stub = vm::get_ref<Elf64_StubHeader>(offset + s);
|
||||
|
||||
const std::string module_name = vm::get_ptr<const char>(stub.s_modulename);
|
||||
Module* module = Emu.GetModuleManager().GetModuleByName(module_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue