Difference between revisions of "NSS:LaunchTitle"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
| Header code [0x000200C0] | | Header code [0x000200C0] | ||
|- | |- | ||
− | | 1 | + | | 1-2 |
− | + | | u64, Title ID | |
− | |||
− | |||
− | | | ||
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | [[PMApp:LaunchTitle#Launch_Flags|Launch Flags]] |
|} | |} | ||
Line 31: | Line 28: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | Process ID |
|} | |} | ||
=Description= | =Description= | ||
− | This is a wrapper for [[PMApp:LaunchTitle]]. The [[ | + | 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 [[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. | ||
+ | |||
+ | This won't relaunch titles which are already running(PID won't change), hence this can also be used to get the PID of already running processes. |
Latest revision as of 01:30, 17 October 2016
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x000200C0] |
1-2 | u64, Title ID |
3 | Launch Flags |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Process ID |
Description[edit]
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.
This won't relaunch titles which are already running(PID won't change), hence this can also be used to get the PID of already running processes.