mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-03 07:10:08 +01:00
Linker: search /app0/sce_module/
Currently limited, requires decrypted modules with .elf ext
This commit is contained in:
parent
cca5a79200
commit
bc39c9be63
|
|
@ -902,6 +902,15 @@ Ref<orbis::Module> rx::linker::loadModuleByName(std::string_view name,
|
|||
return createSceFreeTypeFull(process);
|
||||
}
|
||||
|
||||
{
|
||||
std::string filePath = "/app0/sce_module/";
|
||||
filePath += name;
|
||||
filePath += ".elf";
|
||||
if (auto result = rx::linker::loadModuleFile(filePath.c_str(), process)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
for (auto path : {"/system/common/lib/", "/system/priv/lib/"}) {
|
||||
auto filePath = std::string(path);
|
||||
filePath += name;
|
||||
|
|
|
|||
Loading…
Reference in a new issue