mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-03 10:02:14 +02:00
fs: fix GetProgramId
This commit is contained in:
parent
4a591d4019
commit
bd3decd915
@ -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) } },
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user