mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-11 06:40:39 +00:00
PPU Loader: Fix unload of HLEd PRX modules
This commit is contained in:
parent
e90b399329
commit
597a9f6dd6
@ -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…
x
Reference in New Issue
Block a user