PPU: load only libsysmodule.sprx

This commit is contained in:
Nekotekina 2017-07-10 22:29:39 +03:00
parent 74f2be7307
commit 3278062c29

View File

@ -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)
{
// Load only libsysmodule.sprx
load_libs.emplace("libsysmodule.sprx");
}
else if (0)
{
// Load recommended set of modules: Module name -> SPRX
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)
{
if (!pair.second.imported)