AMNet:GetCurrentImportContentContexts: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
Steveice10 (talk | contribs)
mNo edit summary
Line 21: Line 21:
|-
|-
| 5
| 5
| Import Content Contexts Output Pointer
| [[Application_Manager_Services#ImportContentContext|Import Content Contexts]] Output Pointer
|}
|}


Line 35: Line 35:
| 1
| 1
| Result code
| Result code
|}
=Import Content Context=
This seems to match [[TMD#Content_chunk_records|TMD content chunk records]].
{| class="wikitable" border="1"
|-
!  Offset
!  Length
!  Description
|-
| 0x0
| 0x4
| Content ID
|-
| 0x4
| 0x2
| Content Index
|-
| 0x6
| 0x2
| Content Type
|-
| 0x8
| 0x8
| Content Size
|-
| 0x10
| 0x8
| u64, Current Install Offset
|}
|}

Revision as of 21:25, 9 July 2016

Request

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

Index Word Description
0 Header code
1 Result code