PMApp:LaunchTitleUpdate: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Smea (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000D0240] |- | 1-4 | 0x10-byte struct for main title..."
 
Steveice10 (talk | contribs)
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
|-
|-
| 1-4
| 1-4
| 0x10-byte [[FS:GetProgramLaunchInfo|struct]] for main title
| [[Filesystem_services#ProgramInfo|Program Info]] for main title
|-
|-
| 5-8
| 5-8
| 0x10-byte [[FS:GetProgramLaunchInfo|struct]] for update title
| [[Filesystem_services#ProgramInfo|Program Info]] for update title
|-
|-
| 9
| 9
| Process launch flags
| Process launch [[PMApp:LaunchTitle#Launch_Flags|flags]] (ORed with 0x10000 internally)
|}
|}


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 03:04, 20 January 2016

Request

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

Index Word Description
0 Header code
1 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.