NS services: Difference between revisions
Line 2,300: | Line 2,300: | ||
==== Cmd101 ==== | ==== Cmd101 ==== | ||
Takes a type-0x16 output buffer containing a 0x300-byte struct, an input u8, an u64. Returns | Takes a type-0x16 output buffer containing a 0x300-byte struct, an input u8, an u64. Returns an output u8, an u8 [[Filesystem_services|ContentAttributes]], and a [[NCM_services#ProgramId|ProgramId]]. | ||
This is similar to Cmd2524. On [S2] this is used instead of Cmd2524. | |||
==== Cmd2524 ==== | ==== Cmd2524 ==== | ||
Takes a type-0x16 output buffer containing a 0x300-byte struct, an input u8, an u64. Returns an output u8 and | Takes a type-0x16 output buffer containing a 0x300-byte struct, an input u8, an u64. Returns an output u8 [[Filesystem_services|ContentAttributes]] and a [[NCM_services#ProgramId|ProgramId]]. | ||
The user-process uses the output from this as the input for [[Filesystem_services|OpenFileSystemWithId]] (out-buffer is used as the [[Filesystem_services|FspPath]]). | |||
=== IDownloadTaskInterface === | === IDownloadTaskInterface === |