Difference between revisions of "FS:ControlArchive"

From 3dbrew
Jump to navigation Jump to search
m (Clarify.)
Line 47: Line 47:
 
| 1
 
| 1
 
| Result code
 
| Result code
|-
 
| 2
 
| (inputSize << 4) <nowiki>|</nowiki> 0xA
 
|-
 
| 3
 
| void* Input
 
|-
 
| 4
 
| (outputSize << 4) <nowiki>|</nowiki> 0xC
 
|-
 
| 5
 
| void* Output
 
 
|}
 
|}
  

Revision as of 06:38, 16 October 2015

Request

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

Response

Index Word Description
0 Header code
1 Result code

Description

This allows performing extra actions on archives.

Action

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