PMApp:LaunchTitle: Difference between revisions

Steveice10 (talk | contribs)
Added more detail to flag information.
Steveice10 (talk | contribs)
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
|-
|-
| 1-4
| 1-4
| [[FSReg:LoadProgram#ProgramInfo|ProgramInfo struct]]
| [[Filesystem_services#ProgramInfo|Program Info]]
|-
|-
| 5
| 5
Line 26: Line 26:
| 1
| 1
| Result code
| Result code
|-
| 2
| Process ID (set only if flag 0x1 not set)
|}
|}
=Description=
This launches the specified title.
This returns result code 0xC8A05801 if [[PMApp:PrepareForReboot]] has been called, and 0xC8A05BF0 if the application flag is set and an application is already running.


=Launch Flags=
=Launch Flags=
Line 37: Line 45:
| 0
| 0
| 0x1
| 0x1
| Normal application. Among other things, allows multiple of the same title to run at once.
| Normal application.
|-
|-
| 1
| 1
Line 57: Line 65:
| 16
| 16
| 0x10000
| 0x10000
| Use update title if specified.
| Use update title if through [[PMApp:LaunchTitleUpdate|LaunchTitleUpdate]]. Otherwise has no use.
|}
|}