AM:GetProgramInfos: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
m Steveice10 moved page AM:GetTitleInfo to AM:GetProgramInfos
Steveice10 (talk | contribs)
mNo edit summary
Line 9: Line 9:
|-
|-
| 1
| 1
| u8 [[FS:OpenArchive#Mediatypes|Mediatype]]
| [[Filesystem_services#MediaType|Media Type]]
|-
|-
| 2
| 2
| Total titles
| Title Count
|-
|-
| 3
| 3
| (TitleIDList_Size<<4) <nowiki>|</nowiki> 10
| ((Title Count * 8) << 4) <nowiki>|</nowiki> 0xA
|-
|-
| 4
| 4
| [[AMNet:GetTitleIDList|TitleIDList]] pointer
| Title IDs Input Pointer
|-
|-
| 5
| 5
| (TitleList_Size<<4) <nowiki>|</nowiki> 12
| ((Title Count * 0x18) << 4) <nowiki>|</nowiki> 0xC
|-
|-
| 6
| 6
| TitleList pointer
| Title Info Output Pointer
|}
|}


Line 40: Line 40:
|}
|}


=TitleList entry format=
=Title Info=
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 49: Line 49:
| 0x0
| 0x0
| 0x8
| 0x8
| TitleID
| u64, Title ID
|-
|-
| 0x8
| 0x8
| 0x8
| 0x8
| Total title size
| Total Title Size
|-
|-
| 0x10
| 0x10
| 0x2
| 0x2
| Title version
| Title Version
|-
|-
| 0x12
| 0x12

Revision as of 09:30, 17 April 2016

Request

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

Response

Index Word Description
0 Header code
1 Result code

Title Info

Offset Length Description
0x0 0x8 u64, Title ID
0x8 0x8 Total Title Size
0x10 0x2 Title Version
0x12 0x6 ?