AMPXI:IsImportDatabaseInitialized: Difference between revisions
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x003F0040] |- | 1 | Media Type |} =Response..." |
TimmSkiller (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 27: | Line 27: | ||
| u8, isInitialized? | | u8, isInitialized? | ||
|} | |} | ||
=Description= | =Description= | ||
Returns whether cleanup is required. In general, this checks the import.db for the specified media type. If any entries are found that are marked as fully installed (not pending), this returns true. | |||
However, for NAND, this first checks whether a) <code>nand:/data</code> contains more than one file/directory, and b) whether <code>nand:/data/<ID0></code> exists. If either of these conditions are met, this returns true without further checking the NAND import database. |
Latest revision as of 13:13, 7 June 2025
Request
Index Word | Description |
---|---|
0 | Header code [0x003F0040] |
1 | Media Type |
Response
Index Word | Description |
---|---|
0 | Header code [0x003F0080] |
1 | Result code |
2 | u8, isInitialized? |
Description
Returns whether cleanup is required. In general, this checks the import.db for the specified media type. If any entries are found that are marked as fully installed (not pending), this returns true.
However, for NAND, this first checks whether a) nand:/data
contains more than one file/directory, and b) whether nand:/data/<ID0>
exists. If either of these conditions are met, this returns true without further checking the NAND import database.