mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Fix ldr:ro/ro:1 initialization
This commit is contained in:
parent
d90afaacde
commit
9f4bc18464
@ -62,7 +62,9 @@ Service* roDmntGetServiceSession(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Result _rosrvInitialize(Service* srv) {
|
Result _rosrvInitialize(Service* srv) {
|
||||||
return serviceDispatch(srv, 4,
|
u64 pid_placeholder = 0;
|
||||||
|
return serviceDispatchIn(srv, 4, pid_placeholder,
|
||||||
|
.in_send_pid = true,
|
||||||
.in_num_handles = 1,
|
.in_num_handles = 1,
|
||||||
.in_handles = { CUR_PROCESS_HANDLE },
|
.in_handles = { CUR_PROCESS_HANDLE },
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user