loading libSceFios2.prx as lle as well

This commit is contained in:
georgemoralis 2024-03-27 13:00:27 +02:00
parent e272b152ed
commit a1468c9d79
3 changed files with 6 additions and 4 deletions

View file

@ -57,7 +57,8 @@ int main(int argc, char* argv[]) {
std::filesystem::path sce_module_folder = p.parent_path() / "sce_module";
if (std::filesystem::is_directory(sce_module_folder)) {
for (const auto& entry : std::filesystem::directory_iterator(sce_module_folder)) {
if (entry.path().filename() == "libc.prx") {
if (entry.path().filename() == "libc.prx" ||
entry.path().filename() == "libSceFios2.prx") {
found = true;
LOG_INFO(Loader, "Loading {}", entry.path().string().c_str());
linker->LoadModule(entry.path().string().c_str());