Difference between revisions of "FS:CreateSystemSaveData"

From 3dbrew
Jump to navigation Jump to search
m (Add bucket count calculation reference.)
 
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x08560200]
+
| Header code [0x08560240]
 
|-
 
|-
 
| 1-2
 
| 1-2

Latest revision as of 03:53, 12 November 2015

Request[edit]

Index Word Description
0 Header code [0x08560240]
1-2 SystemSaveDataInfo
3 Total Size
4 Block Size (usually 0x1000)
5 Number of Directories
6 Number of Files
7 Directory Bucket Count
8 File Bucket Count
9 u8, 0 = don't duplicate data, 1 = duplicate data

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Creates system save data.

See here for an example of how bucket counts should be calculated.