AM:BeginImportProgram

AM:BeginImportProgram

Request #

Index WordDescription
0Header code [0x04020040]
1Media Type

Response #

Index WordDescription
0Header code
1Result code
20x10
3CIA 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.