hot-fix the hot-fix

This commit is contained in:
TheTurtle 2024-12-13 18:26:16 +02:00 committed by GitHub
parent 5d55b2b4ec
commit 5c3734e89d

View file

@ -51,7 +51,7 @@ s32 PS4_SYSV_ABI sceKernelLoadStartModule(const char* moduleFileName, size_t arg
}
handle = linker->LoadModule(path, true);
if (handle == -1) {
return ORBIS_KERNEL_ERROR_EINVAL;
return ORBIS_KERNEL_ERROR_ESRCH;
}
auto* module = linker->GetModule(handle);
linker->RelocateAnyImports(module);