mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-02 07:37:07 +00:00
PPU: load only libsysmodule.sprx
This commit is contained in:
parent
74f2be7307
commit
3278062c29
1 changed files with 5 additions and 1 deletions
|
@ -1097,6 +1097,11 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_cfg.core.lib_loading == lib_loading_type::automatic || g_cfg.core.lib_loading == lib_loading_type::both)
|
if (g_cfg.core.lib_loading == lib_loading_type::automatic || g_cfg.core.lib_loading == lib_loading_type::both)
|
||||||
|
{
|
||||||
|
// Load only libsysmodule.sprx
|
||||||
|
load_libs.emplace("libsysmodule.sprx");
|
||||||
|
}
|
||||||
|
else if (0)
|
||||||
{
|
{
|
||||||
// Load recommended set of modules: Module name -> SPRX
|
// Load recommended set of modules: Module name -> SPRX
|
||||||
std::unordered_multimap<std::string, std::string> sprx_map
|
std::unordered_multimap<std::string, std::string> sprx_map
|
||||||
|
@ -1205,7 +1210,6 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: recursively scan all SPRX files in /app_home/ for imports
|
|
||||||
for (const auto& pair : link->modules)
|
for (const auto& pair : link->modules)
|
||||||
{
|
{
|
||||||
if (!pair.second.imported)
|
if (!pair.second.imported)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue