LOADER:GetProgramInfo

From 3dbrew
Revision as of 08:47, 11 October 2015 by Steveice10 (talk | contribs) (Minor name change.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x00040080]
1-2 u64, Program Handle

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

Index Word Description
0 (0x400 << 14) | 2
1 u8* outBuffer (size = 0x400)

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This retrieves the System Control Info and Access Control Info of a program, writing them to the output buffer.