mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 17:34:52 +00:00
This reverts commit ec0cf25097
.
This commit is contained in:
parent
ec0cf25097
commit
8aea0fc7ee
1 changed files with 1 additions and 6 deletions
|
@ -41,13 +41,8 @@ s32 PS4_SYSV_ABI sceKernelLoadStartModule(const char* moduleFileName, size_t arg
|
||||||
return ORBIS_KERNEL_ERROR_EINVAL;
|
return ORBIS_KERNEL_ERROR_EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string guest_path(moduleFileName);
|
|
||||||
if (moduleFileName[0] != '/') {
|
|
||||||
guest_path = "/app0/" + guest_path;
|
|
||||||
}
|
|
||||||
|
|
||||||
auto* mnt = Common::Singleton<Core::FileSys::MntPoints>::Instance();
|
auto* mnt = Common::Singleton<Core::FileSys::MntPoints>::Instance();
|
||||||
const auto path = mnt->GetHostPath(guest_path);
|
const auto path = mnt->GetHostPath(moduleFileName);
|
||||||
|
|
||||||
// Load PRX module and relocate any modules that import it.
|
// Load PRX module and relocate any modules that import it.
|
||||||
auto* linker = Common::Singleton<Core::Linker>::Instance();
|
auto* linker = Common::Singleton<Core::Linker>::Instance();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue