AM:BeginImportProgramTemporarily

From 3dbrew
Revision as of 05:22, 28 January 2014 by Yellows8 (talk | contribs)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x4030000]

Response

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

Description

Returns a filehandle 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 tmp*.db, and sets the mediatype to NAND.