Difference between revisions of "APT:Initialize"

From 3dbrew
Jump to navigation Jump to search
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| Value 0x0 ?
+
| Flags, usually value 0x0?
 
|}
 
|}
  
Line 36: Line 36:
 
| Another event handle; triggered at start of execution and when returning to app from home menu
 
| Another event handle; triggered at start of execution and when returning to app from home menu
 
|}
 
|}
 +
 +
=Description=
 +
Flags & 7 must not be larger than 6, otherwise NS calls [[SVC|svcBreak]]. Flags bitmask 0x20000000 must not be set when using this command via APT:U, otherwise NS calls [[SVC|svcBreak]].

Revision as of 06:12, 11 April 2014

Request

Index Word Description
0 Header code [0x00020080]
1 AppID
2 Flags, usually value 0x0?

Response

Index Word Description
0 Header code
1 Result code
2 Value 0x04000000.
3 Notification event handle; should call APTU:GetSignalType when triggered
4 Another event handle; triggered at start of execution and when returning to app from home menu

Description

Flags & 7 must not be larger than 6, otherwise NS calls svcBreak. Flags bitmask 0x20000000 must not be set when using this command via APT:U, otherwise NS calls svcBreak.