NS services: Difference between revisions
No edit summary |
|||
Line 36: | Line 36: | ||
| 19 || | | 19 || | ||
|- | |- | ||
| 21 || [[# | | 21 || [[#GetTitlePatchContentNcaPath]] | ||
|- | |- | ||
| 22 || | | 22 || | ||
Line 235: | Line 235: | ||
|} | |} | ||
== | == GetTitlePatchContentNcaPath == | ||
Takes a 0x16-type output buffer, an u8 [[NCA|type]], and an u64 titleID. | Takes a 0x16-type output buffer, an u8 [[NCA|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. | 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. | Returns a string path for the specified type of patch content with this titleID. Returns an error when the specified type of content doesn't exist for this title. Starts with "@{SdCardContent,UserContent}://" and ends in ".nca". | ||
The output string is then used by the user-process with [[Filesystem_services|FS]] to mount the content. | The output string is then used by the user-process with [[Filesystem_services|FS]] to mount the content. |