From 9f4bc18464e39179b802f67a65e1ac100a4b9330 Mon Sep 17 00:00:00 2001 From: XorTroll <33005497+XorTroll@users.noreply.github.com> Date: Sun, 12 Sep 2021 19:42:47 +0200 Subject: [PATCH] Fix ldr:ro/ro:1 initialization --- nx/source/services/ro.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nx/source/services/ro.c b/nx/source/services/ro.c index d8de3e52..11f974fc 100644 --- a/nx/source/services/ro.c +++ b/nx/source/services/ro.c @@ -62,7 +62,9 @@ Service* roDmntGetServiceSession(void) { } 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_handles = { CUR_PROCESS_HANDLE }, );