Difference between revisions of "AM:GetProgramInfoFromCia"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x04080042] |- | 1 | u8 Mediatype |- | 2 | Always 0? |- | 3 | File ...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| u8 [[Mediatypes|Mediatype]]
+
| [[Filesystem_services#MediaType|Media Type]]
 
|-
 
|-
 
| 2
 
| 2
| Always 0?
+
| 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 informations 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 07: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.