Difference between revisions of "APT:GetAppletProgramInfo"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | u16 title-version from [[AMNet:ListTitles]] (only returns version & 0xFC00 as of | + | | u16 title-version from [[AMNet:ListTitles]] (only returns version & 0xFC00 as of the [[NS]] title-version for [[9.3.0-21|9.3.0-X]]) |
|} | |} | ||
Revision as of 05:36, 28 September 2015
Request
Index Word | Description |
---|---|
0 | Header code [0x004D0080] |
1 | AppID / programID-low |
2 | Flags |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | u16 title-version from AMNet:ListTitles (only returns version & 0xFC00 as of the NS title-version for 9.3.0-X) |
Flags
Bitmask | Description |
---|---|
0x1 | When set, this enables using AMNet:ListTitles with mediatype=NAND. |
0x2 | When set, this enables using AMNet:ListTitles with mediatype=SD. |
0x4 | When set, this enables using AMNet:ListTitles with mediatype=gamecard. |
0x10 | When set, the programID is determined via the input AppID. When clear, programID-low = input cmdword[1], with the programID-high determined by the following bitmasks. |
0x20 | This bitmask must be set when bitmask 0x10 is not set, otherwise an error is returned. |
0x100 | This is used when bitmask 0x10 is clear and bitmask 0x20 is set. When this is clear, programIDhigh = 0x00040000, otherwise programIDhigh = 0x00040010. |
Description
This returns the title-version for the specified applet/application. NS will attempt to use AMNet:ListTitles for each mediatype when the bitmask for the mediatype is enabled, in the following order: NAND, SD, and gamecard.