Difference between revisions of "AM:BeginImportProgramTemporarily"

From 3dbrew
Jump to navigation Jump to search
Line 29: Line 29:
  
 
=Description=
 
=Description=
Returns a filehandle 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 tmp*.db, and sets the mediatype to NAND.
+
Returns a filehandle 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 1 for tmp*.db, and sets the mediatype to NAND.

Revision as of 06:58, 28 January 2014

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 1 for tmp*.db, and sets the mediatype to NAND.