mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Sprx: loading / reloc fixes
This commit is contained in:
parent
03268b0838
commit
d3df83a3ea
5 changed files with 117 additions and 16 deletions
|
|
@ -196,7 +196,7 @@ error_code _sys_prx_start_module(u32 id, u64 flags, vm::ptr<sys_prx_start_stop_m
|
|||
|
||||
//prx->is_started = true;
|
||||
pOpt->entry.set(prx->start ? prx->start.addr() : ~0ull);
|
||||
|
||||
pOpt->entry2.set(prx->prologue ? prx->prologue.addr() : ~0ull);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
@ -216,6 +216,7 @@ error_code _sys_prx_stop_module(u32 id, u64 flags, vm::ptr<sys_prx_start_stop_mo
|
|||
|
||||
//prx->is_started = false;
|
||||
pOpt->entry.set(prx->stop ? prx->stop.addr() : ~0ull);
|
||||
pOpt->entry2.set(prx->epilogue ? prx->epilogue.addr() : ~0ull);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue