Changes

Jump to navigation Jump to search
307 bytes added ,  09:27, 31 August 2019
Namez
{| class="wikitable" border="1"
|-
! Cmd || Name|| Notes
|-
| 0 || [[#ResolveProgramPath]]||
|-
| 1 || [[#RedirectProgramPath]]||
|-
| 2 || [[#ResolveApplicationControlPath]]||
|-
| 3 || [[#ResolveApplicationHtmlDocumentPath]]||
|-
| 4 || [[#ResolveDataPath]]||
|-
| 5 || [[#RedirectApplicationControlPath]]||
|-
| 6 || [[#RedirectApplicationHtmlDocumentPath]]||
|-
| 7 || [[#ResolveApplicationLegalInformationPath]]||
|-
| 8 || [[#RedirectApplicationLegalInformationPath]]||
|-
| 9 || [[#Refresh]]||
|-
| 10 || [5.0.0+] [[#RedirectProgramPath2RedirectApplicationProgramPath]]||
|-
| 11 || [5.0.0+] [[#Refresh2ClearApplicationRedirection]]||
|-
| 12 || [5.0.0+] [[#DeleteProgramPathEraseProgramRedirection]]||
|-
| 13 || [5.0.0+] [[#DeleteApplicationControlPathEraseApplicationControlRedirection]]||
|-
| 14 || [5.0.0+] [[#DeleteApplicationHtmlDocumentPathEraseApplicationHtmlDocumentRedirection]]||
|-
| 15 || [5.0.0+] [[#DeleteApplicationLegalInformationPathEraseApplicationLegalInformationRedirection]]||
|-
| 16 || [7.0.0+] [[#ResolveProgramPathForDebug]]|| Unofficial name
|-
| 17 || [7.0.0+] [[#RedirectProgramPathForDebug]]|| Unofficial name
|-
| 18 || [7.0.0+] [[#RedirectProgramPath2ForDebugRedirectApplicationProgramPathForDebug]]|| Unofficial name
|-
| 19 || [7.0.0+] [[#DeleteProgramPathForDebugEraseProgramRedirectionForDebug]]|| Unofficial name
|}
Takes no input. Frees all linked-lists' entries that have '''flag''' set to 0.
==== RedirectProgramPath2 RedirectApplicationProgramPath ====
Same as [[#RedirectProgramPath|RedirectProgramPath]], but inserts a new [[#Location_List_Entry|entry]] with '''flag''' set to 1.
==== Refresh2 ClearApplicationRedirection ====
Takes no input. Frees all linked-lists' entries that have '''flag''' set to 1.
==== DeleteProgramPath EraseProgramRedirection ====
Takes an u64 '''TitleID'''. Used for [[NCA_Content_FS#NCA-type1|NCA-type1]].
Removes the [[#Location_List_Entry|entry]] that matches the input TitleID.
==== DeleteApplicationControlPath EraseApplicationControlRedirection ====
Takes an u64 '''TitleID'''. Used for [[NCA_Content_FS#NCA-type3|NCA-type3]].
Removes the [[#Location_List_Entry|entry]] that matches the input TitleID.
==== DeleteApplicationHtmlDocumentPath EraseApplicationHtmlDocumentRedirection ====
Takes an u64 '''TitleID'''. Used for [[NCA_Content_FS#NCA-type4|NCA-type4]].
Removes the [[#Location_List_Entry|entry]] that matches the input TitleID.
==== DeleteApplicationLegalInformationPath EraseApplicationLegalInformationRedirection ====
Takes an u64 '''TitleID'''. Used for [[NCA_Content_FS#NCA-type5|NCA-type5]].
[[NS_Services|NS]] uses this command if [[System_Settings#ns.application|ns.application!redirected_rom_storage_id_for_debug]] is different than 0x00.
==== RedirectProgramPath2ForDebug RedirectApplicationProgramPathForDebug ====Same as [[#RedirectProgramPath2RedirectApplicationProgramPath |RedirectProgramPath2RedirectApplicationProgramPath ]], but uses a redirection shim on top of the real program path.
[[NS_Services|NS]] uses this command if [[System_Settings#ns.application|ns.application!redirected_rom_storage_id_for_debug]] is different than 0x00.
==== DeleteProgramPathForDebug EraseProgramRedirectionForDebug ====Same as [[#DeleteProgramPathEraseProgramRedirection |DeleteProgramPathEraseProgramRedirection ]], but uses a redirection shim on top of the real program path.
[[NS_Services|NS]] uses this command if [[System_Settings#ns.application|ns.application!redirected_rom_storage_id_for_debug]] is different than 0x00.
48

edits

Navigation menu