Difference between revisions of "AM:GetProgramInfoFromCia"

From 3dbrew
Jump to navigation Jump to search
m (Steveice10 moved page AM:GetCiaFileInfo to AM:GetProgramInfoFromCia)
m
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| u8 [[Mediatypes|Mediatype]]
+
| [[Filesystem_services#MediaType|Media Type]]
 
|-
 
|-
 
| 2
 
| 2
| Value 0x0 for the send-handle translate header for the ARM11 kernel.
+
| 0x0 (Send-handle translate header)
 
|-
 
|-
 
| 3
 
| 3
| File handle
+
| File Handle
 
|}
 
|}
  
Line 31: Line 31:
 
|-
 
|-
 
| 2-8
 
| 2-8
| [[AMNet:ListTitles|Title list entry]]
+
| [[AMNet:ListTitles|Title Info]]
|-
 
 
|}
 
|}
  
 
=Description=
 
=Description=
This reads title information from a CIA file opened with [[Filesystem_services|fs:USER]]. Depending on the mediatype this will return different title sizes. Official apps use double the title size.
+
This reads title information from a CIA file opened with [[Filesystem_services|fs:USER]]. Depending on the media type, this will return different title sizes. Official applications use double the title size.

Latest revision as of 06:29, 17 April 2016

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.