mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
[rpcsx-os] linker: search .prx in app module directory (#53)
This commit is contained in:
parent
47d7364af8
commit
0bbab3eae5
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue