AM:GetPatchTitleInfos

From 3dbrew
Revision as of 18:38, 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 0x0004000E, otherwise 0xE0E0803C is returned. Title Info is only written once all titles are validated as patch titles.

Request

Index Word Description
0 Header code [0x100D0084]
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

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