AM:BeginImportProgram

From 3dbrew
Revision as of 06:29, 17 April 2016 by Steveice10 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.