APT:Initialize

From 3dbrew
Revision as of 13:46, 2 February 2016 by Neobrain (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00020080]
1 AppID
2 AppletAttr

Response

Index Word Description
0 Header code
1 Result code
2 0x04000000 (translation descriptor)
3 Notification Event Handle (call APT:InquireNotification when triggered)
4 Resume Event Handle (triggered at start of execution and when returning to app from home menu)

Description

The AppletAttr AppletPos must not be larger than 6, otherwise NS calls svcBreak. AppletAttr bitmask 0x20000000 must not be set when the AppletAttr AppletPos == POS_SYS and using this command via APT:U, otherwise NS calls svcBreak.