APT:GetStartupArgument

From 3dbrew
Revision as of 08:50, 22 November 2015 by Steveice10 (talk | contribs) (GetStartupArgument)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00510080]
1 Parameter Size (capped to 0x300)
2 StartupArgumentType

The following is located 0x100-bytes after the beginning of the above command buffer:

Index Word Description
0 (Parameter Size << 14) | 2
1 void*, Parameter

Response

Index Word Description
0 Header code
1 Result code
2 u8, Exists (0 = does not exist, 1 = exists)