Difference between revisions of "AM:GetImportTitleContexts"

From 3dbrew
Jump to navigation Jump to search
m
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 IDs Input Pointer
 
|-
 
|-
 
| 5
 
| 5
| (TitleList2_Size<<4) <nowiki>|</nowiki> 12
+
| ((Import Title Context Count * 0x18) << 4) <nowiki>|</nowiki> 0xC
 
|-
 
|-
 
| 6
 
| 6
| TitleList2 pointer
+
| Import Title Context Infos Output Pointer
 
|}
 
|}
  
Line 40: Line 40:
 
|}
 
|}
  
=TitleList2 entry format=
+
=Import Title Context Info=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 64: Line 64:
 
|}
 
|}
  
=Title installation states=
+
=Title Installation States=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-

Revision as of 08:31, 17 April 2016

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 IDs Input Pointer
5 ((Import Title Context Count * 0x18) << 4) | 0xC
6 Import Title Context Infos Output Pointer

Response

Index Word Description
0 Header code
1 Result code

Import Title Context Info

Offset Length Description
0x0 0x8 ?
0x8 0x2 Title version
0xA 0x1 Title installation state?
0xB 0xD ?

Title Installation States

ID Description
2 TMD install pending?
3 TMD installed?