APT:GetStartupArgument

From 3dbrew
Revision as of 17:50, 7 July 2018 by Wwylele (talk | contribs)
(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 or 0x1000 depending on different system version)
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)