mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
[rpcsx-os] linker: search .prx in app module directory (#53)
This commit is contained in:
parent
47d7364af8
commit
0bbab3eae5
|
|
@ -1034,6 +1034,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() - 5);
|
||||
filePath += ".prx";
|
||||
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