From 3278062c29244ccca54c492234da732773421124 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Mon, 10 Jul 2017 22:29:39 +0300 Subject: [PATCH] PPU: load only libsysmodule.sprx --- rpcs3/Emu/Cell/PPUModule.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUModule.cpp b/rpcs3/Emu/Cell/PPUModule.cpp index c7aff3b97f..5100a0e785 100644 --- a/rpcs3/Emu/Cell/PPUModule.cpp +++ b/rpcs3/Emu/Cell/PPUModule.cpp @@ -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 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)