Difference between revisions of "PMApp:LaunchTitle"

From 3dbrew
Jump to navigation Jump to search
m (Add initial launch table.)
(Added more detail to flag information.)
Line 31: Line 31:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 +
!  Bit
 
!  Bit Mask
 
!  Bit Mask
 
!  Description
 
!  Description
 
|-
 
|-
 +
| 0
 
| 0x1
 
| 0x1
| ?
+
| Normal application. Among other things, allows multiple of the same title to run at once.
 
|-
 
|-
 +
| 1
 
| 0x2
 
| 0x2
| Load dependencies
+
| Load [[NCCH/Extended_Header|exheader]] dependencies.
 
|-
 
|-
 +
| 2
 
| 0x4
 
| 0x4
| ?
+
| On termination, publish [[Services#Notifications|SRV notification]] "0x110 + (value in bits 4-7)".
 
|-
 
|-
 +
| 3
 
| 0x8
 
| 0x8
| Queue Execution
+
| Queue execution until [[PMDbg:RunQueuedProcess|RunQueuedProcess]] call.
 
|-
 
|-
 +
| 4-7
 +
| 0xF0
 +
| Variation of signal 0x110 to send if bit 2 (0x4) is set.
 +
|-
 +
| 16
 
| 0x10000
 
| 0x10000
| Use update title
+
| Use update title if specified.
 
|}
 
|}

Revision as of 00:34, 14 October 2015

Request

Index Word Description
0 Header code [0x00010140]
1-4 ProgramInfo struct
5 Process launch flags

Response

Index Word Description
0 Header code
1 Result code

Launch Flags

Bit Bit Mask Description
0 0x1 Normal application. Among other things, allows multiple of the same title to run at once.
1 0x2 Load exheader dependencies.
2 0x4 On termination, publish SRV notification "0x110 + (value in bits 4-7)".
3 0x8 Queue execution until RunQueuedProcess call.
4-7 0xF0 Variation of signal 0x110 to send if bit 2 (0x4) is set.
16 0x10000 Use update title if specified.