hot-fix the hot-fix

This commit is contained in:
TheTurtle
2024-12-13 18:26:16 +02:00
committed by GitHub
parent bab00dbca8
commit 8acefd25e7

View File

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