Difference between revisions of "PMApp:LaunchTitleUpdate"

From 3dbrew
Jump to navigation Jump to search
m (Link to flags, add 0x10000 note.)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1-4
 
| 1-4
| [[FSReg:LoadProgram#ProgramInfo|ProgramInfo struct]] for main title
+
| [[Filesystem_services#ProgramInfo|Program Info]] for main title
 
|-
 
|-
 
| 5-8
 
| 5-8
| [[FSReg:LoadProgram#ProgramInfo|ProgramInfo struct]] for update title
+
| [[Filesystem_services#ProgramInfo|Program Info]] for update title
 
|-
 
|-
 
| 9
 
| 9
Line 30: Line 30:
 
| Result code
 
| Result code
 
|}
 
|}
 +
 +
=Description=
 +
This launches a title, also applying an update patch title.
 +
 +
This returns result code 0xC8A05801 if [[PMApp:PrepareForReboot]] has been called, 0xC8A05BF0 if an application is already running, and 0xD8E05802 if flag 0x1 is not set.

Latest revision as of 02:04, 20 January 2016

Request[edit]

Index Word Description
0 Header code [0x000D0240]
1-4 Program Info for main title
5-8 Program Info for update title
9 Process launch flags (ORed with 0x10000 internally)

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This launches a title, also applying an update patch title.

This returns result code 0xC8A05801 if PMApp:PrepareForReboot has been called, 0xC8A05BF0 if an application is already running, and 0xD8E05802 if flag 0x1 is not set.