PPU: load only libsysmodule.sprx
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user