APT:GetStartupArgument: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
GetStartupArgument
 
Wwylele (talk | contribs)
No edit summary
 
Line 9: Line 9:
|-
|-
| 1
| 1
| Parameter Size (capped to 0x300)
| Parameter Size (capped to 0x300 or 0x1000 depending on different system version)
|-
|-
| 2
| 2

Latest revision as of 18:50, 7 July 2018

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)