Difference between revisions of "AM:GetPatchTitleInfos"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x100D0084] |- | 1 | Media Type |- | 2 | Titl...")
 
 
(2 intermediate revisions by 2 users not shown)
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 0x0004000E, otherwise 0xE0E0803C is returned. [[Application_Manager_Services#TitleInfo|Title Info]] is only written once all titles are validated as patch titles.
 
=Request=
 
=Request=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 24: Line 25:
 
|-
 
|-
 
| 6
 
| 6
| Title Infos Output Pointer
+
| [[Application_Manager_Services#TitleInfo|Title Infos]] Output Pointer
 
|}
 
|}
  
Line 38: Line 39:
 
| 1
 
| 1
 
| Result code
 
| Result code
 +
|-
 +
| 2
 +
| ((Title Count * 8) << 4) <nowiki>|</nowiki> 0xA
 +
|-
 +
| 3
 +
| Title IDs Pointer
 +
|-
 +
| 4
 +
| ((Title Count * 0x18) << 4) <nowiki>|</nowiki> 0xC
 +
|-
 +
| 5
 +
| [[Application_Manager_Services#TitleInfo|Title Infos]] Pointer
 
|}
 
|}

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

Request[edit]

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[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