AM:BeginImportProgram: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
 
Steveice10 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[AM:StartInstallCIADB1]]
=Request=
{| class="wikitable" border="1"
|-
!  Index Word
!  Description
|-
| 0
| Header code [0x04020040]
|-
| 1
| [[Filesystem_services#MediaType|Media Type]]
|}
 
=Response=
{| class="wikitable" border="1"
|-
!  Index Word
!  Description
|-
| 0
| Header code
|-
| 1
| Result code
|-
| 2
| 0x10
|-
| 3
| CIA Handle
|}
 
=Description=
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 07:29, 17 April 2016

Request

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

Response

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

Description

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.