AM:GetDLCTitleInfos

From 3dbrew
Revision as of 18:37, 26 October 2017 by Shinyquagsire23 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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