NS services: Difference between revisions
No edit summary |
|||
Line 36: | Line 36: | ||
| 19 || | | 19 || | ||
|- | |- | ||
| 21 || | | 21 || [[#GetContentNcaPath]] | ||
|- | |- | ||
| 22 || | | 22 || | ||
Line 234: | Line 234: | ||
| 1802 || | | 1802 || | ||
|} | |} | ||
== GetContentNcaPath == | |||
Takes a 0x16-type output buffer, an u8 type, and an u64 titleID. | |||
The input titleID is used with the application-title table like various other cmds, anything not in that table can't be used with this. | |||
Returns a string path for the specified type of content with this titleID. Returns an error when the specified type of content doesn't exist for this title. For example: "@SdCardContent:/<subdirectory under {[[SD_Filesystem|Contents]]}>/{path to .nca directory}". The string ends with ".nca". Hence, the path is the same as what's on SD under the Contents directory. | |||
The output string is then used by the user-process with [[Filesystem_services|FS]] to mount the content. | |||
== GetFreeSpace == | == GetFreeSpace == |