Difference between revisions of "APT:GetProgramInfo"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00490180] |- | 1-4 | 0x10-byte struct for the input ...") |
|||
Line 32: | Line 32: | ||
=Description= | =Description= | ||
− | This obtains info mainly used for [[APT:Reboot|launching]] [[FIRM]]. For TWL titles, the output programID-low is 0x102 for TWL_FIRM, however for CTR titles this is [[PMApp:GetTitleProgramID|loaded]] from the | + | This obtains info mainly used for [[APT:Reboot|launching]] [[FIRM]]. For TWL titles, the output programID-low is 0x102 for TWL_FIRM, however for CTR titles this is [[PMApp:GetTitleProgramID|loaded]] from the first 4-bytes of the exheader_arm11systemlocalcaps.flags("Core Version"). |
Revision as of 06:04, 17 February 2014
Request
Index Word | Description |
---|---|
0 | Header code [0x00490180] |
1-4 | 0x10-byte struct for the input title. |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | u8 flag: TWL = 0, CTR = (programIDhigh & 0xF00000) >> 20. |
3 | Output programID-low. |
Description
This obtains info mainly used for launching FIRM. For TWL titles, the output programID-low is 0x102 for TWL_FIRM, however for CTR titles this is loaded from the first 4-bytes of the exheader_arm11systemlocalcaps.flags("Core Version").