Difference between revisions of "NSS:LaunchTitle"

From 3dbrew
Jump to navigation Jump to search
m
Line 8: Line 8:
 
| Header code [0x000200C0]
 
| Header code [0x000200C0]
 
|-
 
|-
| 1
+
| 1-2
| TitleID lower word
+
| u64, Title ID
|-
 
| 2
 
| TitleID upper word
 
 
|-
 
|-
 
| 3
 
| 3
| Process launch [[PMApp:LaunchTitle|flags]]
+
| [[PMApp:LaunchTitle#Launch_Flags|Launch Flags]]
 
|}
 
|}
  
Line 31: Line 28:
 
|-
 
|-
 
| 2
 
| 2
| Launched process' ProcessId
+
| Process ID
 
|}
 
|}
  
 
=Description=
 
=Description=
This is a wrapper for [[PMApp:LaunchTitle]]. The [[Mediatypes|mediatype]] is determined by the input titleID. The gamecard mediatype is used when the input titleID is all-zero. The NAND mediatype is used when the input titleID-high is for a CTR system title, otherwise the SD mediatype is used.
+
This is a wrapper for [[PMApp:LaunchTitle]]. The [[Filesystem_services#MediaType|MediaType]] is determined by the input title ID. The [[Filesystem_services#MediaType|Game Card MediaType]] is used when the input title ID is zero. The [[Filesystem_services#MediaType|NAND MediaType]] is used when the input title ID has the content category system flag set, otherwise the [[Filesystem_services#MediaType|SD MediaType]] is used.
  
The proc-launch flags actually used by NS, is the input value with bit0 cleared and bit1 set.
+
The [[PMApp:LaunchTitle#Launch_Flags|launch flags]] passed to [[PMApp:LaunchTitle]] have bit 0 cleared (normal application) and bit 1 set (load dependencies)
  
 
Home Menu only uses this command for launching system modules.
 
Home Menu only uses this command for launching system modules.

Revision as of 05:10, 20 January 2016

Request

Index Word Description
0 Header code [0x000200C0]
1-2 u64, Title ID
3 Launch Flags

Response

Index Word Description
0 Header code
1 Result code
2 Process ID

Description

This is a wrapper for PMApp:LaunchTitle. The MediaType is determined by the input title ID. The Game Card MediaType is used when the input title ID is zero. The NAND MediaType is used when the input title ID has the content category system flag set, otherwise the SD MediaType is used.

The launch flags passed to PMApp:LaunchTitle have bit 0 cleared (normal application) and bit 1 set (load dependencies)

Home Menu only uses this command for launching system modules.