mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
PPU Loader: Fix unload of HLEd PRX modules
This commit is contained in:
parent
e90b399329
commit
597a9f6dd6
1 changed files with 6 additions and 0 deletions
|
@ -3717,6 +3717,12 @@ extern fs::file make_file_view(fs::file&& _file, u64 offset, u64 max_size = umax
|
|||
|
||||
extern void ppu_finalize(const ppu_module& info, bool force_mem_release)
|
||||
{
|
||||
if (info.segs.empty())
|
||||
{
|
||||
// HLEd modules
|
||||
return;
|
||||
}
|
||||
|
||||
if (!force_mem_release && info.name.empty())
|
||||
{
|
||||
// Don't remove main module from memory
|
||||
|
|
Loading…
Add table
Reference in a new issue