Difference between revisions of "AMNet:GetCurrentImportContentContexts"

From 3dbrew
Jump to navigation Jump to search
m
 
(3 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| Total indexes
+
| Import Content Context Count
 
|-
 
|-
 
| 2
 
| 2
| (TotalIndexes<<5) <nowiki>|</nowiki> 10
+
| ((Import Content Context Count * 2) << 4) <nowiki>|</nowiki> 0xA
 
|-
 
|-
 
| 3
 
| 3
| Input content index array pointer
+
| Import Content Context Indices Input Pointer
 
|-
 
|-
 
| 4
 
| 4
| ((TotalIndexes*0x18)<<4) <nowiki>|</nowiki> 12
+
| ((Import Content Context Count * 0x18) << 4) <nowiki>|</nowiki> 0xC
 
|-
 
|-
 
| 5
 
| 5
| Pointer to output content info array
+
| [[Application_Manager_Services#ImportContentContext|Import Content Contexts]] Output Pointer
 
|}
 
|}
  
Line 37: Line 37:
 
|}
 
|}
  
=ContentInfo=
+
 
This seems to match [[TMD#Content_chunk_records|TMD content chunk records]].
+
=Description=
{| class="wikitable" border="1"
+
Wraps [[AMPXI:GetCurrentImportContentContexts]].
|-
 
!  Offset
 
!  Length
 
!  Description
 
|-
 
| 0x0
 
| 0x4
 
| ContentID
 
|-
 
| 0x4
 
| 0x2
 
| Content index
 
|-
 
| 0x6
 
| 0x2
 
| Content type
 
|-
 
| 0x8
 
| 0x8
 
| Content size
 
|-
 
| 0x10
 
| 0x8
 
| ?
 
|}
 

Latest revision as of 23:58, 25 December 2021

Request[edit]

Index Word Description
0 Header code [0x08150044]
1 Import Content Context Count
2 ((Import Content Context Count * 2) << 4) | 0xA
3 Import Content Context Indices Input Pointer
4 ((Import Content Context Count * 0x18) << 4) | 0xC
5 Import Content Contexts Output Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code


Description[edit]

Wraps AMPXI:GetCurrentImportContentContexts.