NS services: Difference between revisions

Line 242: Line 242:
Returns a string path for the specified type of patch content with this titleID, otherwise returns regular-application paths when update-title not installed. Returns an error when the specified type of content doesn't exist for this title. Starts with "@{SdCardContent,UserContent}://" and ends in ".nca".
Returns a string path for the specified type of patch content with this titleID, otherwise returns regular-application paths when update-title not installed. Returns an error when the specified type of content doesn't exist for this title. Starts with "@{SdCardContent,UserContent}://" and ends in ".nca".


For gamecard content, the output path is: "@GcS00000002:/<NcaId>.nca". NCA-type0 with gamecard returns 0 with an empty output string.
For gamecard content, the output path is: "@GcSXXXXXXXX:/<NcaId>.nca". NCA-type0 with gamecard returns 0 with an empty output string.


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.