Difference between revisions of "AM:GetDLCTitleInfos"

From 3dbrew
Jump to navigation Jump to search
m (Shinyquagsire23 moved page AM:GetDataTitleInfos to AM:GetDLCTitleInfos: "Data" is a bit vague here, the function specifically checks for 0004008C which is the DLC TID high)
 
Line 1: Line 1:
 +
Iterates through a list of TIDs to return [[Application_Manager_Services#TitleInfo|Title Infos]]. One pass over the TID list is done initially to validate that all TID high values are 0x0004008C, otherwise 0xE0E0803C is returned. [[Application_Manager_Services#TitleInfo|Title Info]] is only written once all titles are validated as DLC.
 
=Request=
 
=Request=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"

Latest revision as of 18:37, 26 October 2017

Iterates through a list of TIDs to return Title Infos. One pass over the TID list is done initially to validate that all TID high values are 0x0004008C, otherwise 0xE0E0803C is returned. Title Info is only written once all titles are validated as DLC.

Request[edit]

Index Word Description
0 Header code [0x10050084]
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 Infos Output Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 ((Title Count * 8) << 4) | 0xA
3 Title IDs Pointer
4 ((Title Count * 0x18) << 4) | 0xC
5 Title Infos Pointer