mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
PPU: free prx segments
This commit is contained in:
parent
0ee454f44b
commit
74f2be7307
2 changed files with 10 additions and 1 deletions
|
|
@ -890,6 +890,14 @@ std::shared_ptr<lv2_prx> ppu_load_prx(const ppu_prx_object& elf, const std::stri
|
|||
return prx;
|
||||
}
|
||||
|
||||
void ppu_unload_prx(const lv2_prx& prx)
|
||||
{
|
||||
for (auto& seg : prx.segs)
|
||||
{
|
||||
vm::dealloc(seg.addr, vm::main);
|
||||
}
|
||||
}
|
||||
|
||||
void ppu_load_exec(const ppu_exec_object& elf)
|
||||
{
|
||||
if (g_cfg.core.hook_functions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue