AM:GetProgramInfoFromCia: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Profi200 (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x04080042] |- | 1 | u8 Mediatype |- | 2 | Always 0? |- | 3 | File ..."
 
Line 12: Line 12:
|-
|-
| 2
| 2
| Always 0?
| Value 0x0 for the send-handle translate header for the ARM11 kernel.
|-
|-
| 3
| 3

Revision as of 16:22, 24 April 2015

Request

Index Word Description
0 Header code [0x04080042]
1 u8 Mediatype
2 Value 0x0 for the send-handle translate header for the ARM11 kernel.
3 File handle

Response

Index Word Description
0 Header code
1 Result code
2-8 Title list entry

Description

This reads title informations from a CIA file opened with fs:USER. Depending on the mediatype this will return different title sizes. Official apps use double the title size.