AM:GetProgramInfoFromCia

From 3dbrew
Jump to: navigation, search

Request[edit]

Index Word Description
0 Header code [0x04080042]
1 Media Type
2 0x0 (Send-handle translate header)
3 File Handle

Response[edit]

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

Description[edit]

This reads title information from a CIA file opened with fs:USER. Depending on the media type, this will return different title sizes. Official applications use double the title size.