AM:GetImportTitleContexts: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
m Steveice10 moved page AMNet:ListTitles2 to AM:GetPendingTitleInfo
TimmSkiller (talk | contribs)
made it clearer what the input buffer is used for
 
(3 intermediate revisions by one other user not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| Total titles
| Import Title Context Count
|-
|-
| 2
| 2
| u8 [[FS:OpenArchive#Mediatypes|Mediatype]]
| [[Filesystem_services#MediaType|Media Type]]
|-
|-
| 3
| 3
| (TitleIDList_Size<<4) <nowiki>|</nowiki> 10
| ((Import Title Context Count * 8) << 4) <nowiki>|</nowiki> 0xA
|-
|-
| 4
| 4
| [[AMNet:GetTitleIDList|TitleIDList]] pointer
| Import Title Context Title IDs Input Pointer
|-
|-
| 5
| 5
| (TitleList2_Size<<4) <nowiki>|</nowiki> 12
| ((Import Title Context Count * 0x18) << 4) <nowiki>|</nowiki> 0xC
|-
|-
| 6
| 6
| TitleList2 pointer
| [[Application_Manager_Services#ImportTitleContext|Import Title Contexts]] Output Pointer
|}
|}


Line 38: Line 38:
| 1
| 1
| Result code
| Result code
|}
=TitleList2 entry format=
{| class="wikitable" border="1"
|-
!  Offset
!  Length
!  Description
|-
| 0x0
| 0x8
| ?
|-
| 0x8
| 0x2
| Title version
|-
| 0xA
| 0x1
| Title installation state?
|-
| 0xB
| 0xD
| ?
|}
=Title installation states=
{| class="wikitable" border="1"
|-
!  ID
!  Description
|-
| 2
| TMD install pending?
|-
| 3
| TMD installed?
|}
|}

Latest revision as of 20:24, 1 July 2022

Request

Index Word Description
0 Header code [0x000D0084]
1 Import Title Context Count
2 Media Type
3 ((Import Title Context Count * 8) << 4) | 0xA
4 Import Title Context Title IDs Input Pointer
5 ((Import Title Context Count * 0x18) << 4) | 0xC
6 Import Title Contexts Output Pointer

Response

Index Word Description
0 Header code
1 Result code