Difference between revisions of "AM:CommitImportPrograms"

From 3dbrew
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
| Header code [0x040700C2]
 
| Header code [0x040700C2]
 
|-
 
|-
| 1-5
+
| 1
| Same as [[AMNet:InstallTitlesFinish]].
+
| [[Filesystem_services#MediaType|Media Type]]
 +
|-
 +
| 2
 +
| Title count
 +
|-
 +
| 3
 +
| u8, [[Title_Database|Database]] (0 = title.db, 1 = tmp*.db)
 +
|-
 +
| 4
 +
| ((Title Count * 8) << 4)  <nowiki>|</nowiki> 0xA
 +
|-
 +
| 5
 +
| Title IDs Pointer
 
|}
 
|}
  

Latest revision as of 06:29, 17 April 2016

Request[edit]

Index Word Description
0 Header code [0x040700C2]
1 Media Type
2 Title count
3 u8, Database (0 = title.db, 1 = tmp*.db)
4 ((Title Count * 8) << 4) | 0xA
5 Title IDs Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

The input parameters for this are the same as AMNet:InstallTitlesFinish. This is an interface for AMPXI command 0x002A00C2. The AMPXI command used here only finalizes the install in the database, the now-unused files under /title for the title(s) are not deleted by this. These files are deleted later.