mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 15:40:30 +01:00
Linker: search sprx files in sce_module
This commit is contained in:
parent
246db3b2c9
commit
0e71ef38d0
|
|
@ -954,6 +954,11 @@ Ref<orbis::Module> rx::linker::loadModuleByName(std::string_view name,
|
|||
if (auto result = rx::linker::loadModuleFile(filePath.c_str(), thread)) {
|
||||
return result;
|
||||
}
|
||||
filePath.resize(filePath.size() - 4);
|
||||
filePath += ".sprx";
|
||||
if (auto result = rx::linker::loadModuleFile(filePath.c_str(), thread)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
for (auto path : {"/system/common/lib/", "/system/priv/lib/"}) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue