Difference between revisions of "FS:CreateSystemSaveData"

From 3dbrew
Jump to navigation Jump to search
(CreateSystemSaveData)
 
m (Add bucket count calculation reference.)
Line 45: Line 45:
 
| Result code
 
| Result code
 
|}
 
|}
 +
 +
=Description=
 +
Creates [[System_SaveData|system save data]].
 +
 +
See [[RomFS#HashKey_Table_Structure|here]] for an example of how bucket counts should be calculated.

Revision as of 02:12, 20 October 2015

Request

Index Word Description
0 Header code [0x08560200]
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

Index Word Description
0 Header code
1 Result code

Description

Creates system save data.

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