Difference between revisions of "FS:ControlArchive"

From 3dbrew
Jump to navigation Jump to search
m (Clarify.)
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
| Header code [0x080D0144]
 
| Header code [0x080D0144]
 
|-
 
|-
| 1
+
| 1-2
| Archive Handle Low
+
| u64, Archive Handle
|-
 
| 2
 
| Archive Handle High
 
 
|-
 
|-
 
| 3
 
| 3
Line 47: Line 44:
 
| 1
 
| 1
 
| Result code
 
| Result code
|-
 
| 2
 
| (inputSize << 4) <nowiki>|</nowiki> 0xA
 
|-
 
| 3
 
| void* Input
 
|-
 
| 4
 
| (outputSize << 4) <nowiki>|</nowiki> 0xC
 
|-
 
| 5
 
| void* Output
 
 
|}
 
|}
  
Line 81: Line 66:
 
| u16*, UTF-16 Path
 
| u16*, UTF-16 Path
 
| u64, Time Stamp
 
| u64, Time Stamp
 +
|-
 +
| 30877
 +
| Calls [[Filesystem_services_PXI|FSPXI]] command 0x00560102
 +
| 12 bytes
 +
| 16 bytes
 
|}
 
|}

Latest revision as of 04:14, 16 January 2016

Request[edit]

Index Word Description
0 Header code [0x080D0144]
1-2 u64, Archive Handle
3 Action
4 Input Size
5 Output Size
6 (inputSize << 4) | 0xA
7 void* Input
8 (outputSize << 4) | 0xC
9 void* Output

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This allows performing extra actions on archives.

Action[edit]

Value Description Input Output
0 Commits save data changes. None None
1 Retrieves a file's last-modified timestamp. u16*, UTF-16 Path u64, Time Stamp
30877 Calls FSPXI command 0x00560102 12 bytes 16 bytes