Difference between revisions of "AM:BeginImportProgram"

From 3dbrew
Jump to navigation Jump to search
m (Steveice10 moved page AM:StartInstallCIA to AM:BeginImportProgram)
m
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| u8 [[Mediatypes|Mediatype]]
+
| [[Filesystem_services#MediaType|Media Type]]
 
|}
 
|}
  
Line 25: Line 25:
 
|-
 
|-
 
| 2
 
| 2
| Value 0x10
+
| 0x10
 
|-
 
|-
 
| 3
 
| 3
| CIA filehandle
+
| CIA Handle
 
|}
 
|}
  
 
=Description=
 
=Description=
This is exactly the same as [[AM:StartInstallDlpChildCIA]], except the u8 [[Title_Database|database]] type is set to value 0 for title.db, and the mediatype is set to the input mediatype.
+
Returns a file handle to which CIA data is to be written using [[Application Manager Services#File service|AM:File services]]. This appears to only allocate+initialize a CIA object in AM module state, etc: nothing more is done by this command it seems. This sets the u8 [[Title_Database|database]] type used for installation to value 0 for title.db.

Latest revision as of 06:29, 17 April 2016

Request[edit]

Index Word Description
0 Header code [0x04020040]
1 Media Type

Response[edit]

Index Word Description
0 Header code
1 Result code
2 0x10
3 CIA Handle

Description[edit]

Returns a file handle to which CIA data is to be written using AM:File services. This appears to only allocate+initialize a CIA object in AM module state, etc: nothing more is done by this command it seems. This sets the u8 database type used for installation to value 0 for title.db.