From e322bdf82d4d8c4edd30634bbdde156dc3aa644a 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 1fcb74ea..06ba28f7 100644 --- a/nx/source/services/fs.c +++ b/nx/source/services/fs.c @@ -546,7 +546,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) } }, );