AM:BeginImportProgram

From 3dbrew
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.