mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
Loader: Call svcCreateProcess()
This commit is contained in:
parent
2d6445d2f9
commit
1c47959bca
1 changed files with 5 additions and 1 deletions
|
@ -142,7 +142,11 @@ Result ProcessCreation::CreateProcess(Handle *out_process_h, u64 index, char *nc
|
|||
|
||||
/* TODO: Figure out where NSOs will be mapped, and how much space they (and arguments) will take up. */
|
||||
|
||||
/* TODO: Call svcCreateProcessInfo(). */
|
||||
/* Call svcCreateProcess(). */
|
||||
rc = svcCreateProcess(out_process_h, &process_info, (u32 *)npdm_info.aci0_kac, npdm_info.aci0->kac_size/sizeof(u32));
|
||||
if (R_FAILED(rc)) {
|
||||
goto CREATE_PROCESS_END;
|
||||
}
|
||||
|
||||
/* TODO: For each NSO, call svcMapProcessMemory, load the NSO into memory there (validating it), and then svcUnmapProcessMemory. */
|
||||
|
||||
|
|
Loading…
Reference in a new issue