From bd3decd9153cb798df57e6f84b1cb31e1fb96361 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 11 Oct 2023 16:08:59 -0700 Subject: [PATCH] fs: fix GetProgramId --- nx/source/services/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/services/fs.c b/nx/source/services/fs.c index 7934fe87..c11b9d53 100644 --- a/nx/source/services/fs.c +++ b/nx/source/services/fs.c @@ -542,7 +542,7 @@ Result fsGetProgramId(u64* out, const char *path, FsContentAttributes attr) { strncpy(send_path, path, FS_MAX_PATH-1); const u8 in = attr; - return _fsObjectDispatchInOut(&g_fsSrv, 618, in, out, + return _fsObjectDispatchInOut(&g_fsSrv, 618, in, *out, .buffer_attrs = { SfBufferAttr_HipcPointer | SfBufferAttr_In }, .buffers = { { send_path, sizeof(send_path) } }, );