[rpcsx-os]: linker: fixed custom so load

This commit is contained in:
DH 2023-09-03 19:48:33 +03:00
parent 0bbab3eae5
commit a57aa92ace

View file

@ -131,7 +131,10 @@ loadPrx(orbis::Thread *thread, std::string_view path, bool relocate) {
}
expectedName += tmpExpectedName;
expectedName += ".prx";
if (!expectedName.ends_with(".prx")) {
expectedName += ".prx";
}
}
return loadPrx(thread, path, relocate, loadedObjects, loadedModules,