Difference between revisions of "AM:BeginImportProgramTemporarily"

From 3dbrew
Jump to navigation Jump to search
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x4030000]
+
| Header code [0x04030000]
 
|}
 
|}
  

Revision as of 09:23, 16 April 2016

Request

Index Word Description
0 Header code [0x04030000]

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.