Difference between revisions of "FS:CreateExtSaveData"

From 3dbrew
Jump to navigation Jump to search
m (ExtSaveDataInfo)
m (nit)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
|-
 
|-
 
| 5
 
| 5
| Number of directories
+
| Number of Directories
 
|-
 
|-
 
| 6
 
| 6
| Number of files
+
| Number of Files
 
|-
 
|-
| 7
+
| 7-8
| Unknown
+
| u64, Size Limit (default = -1)
|-
 
| 8
 
| Unknown
 
 
|-
 
|-
 
| 9
 
| 9

Latest revision as of 03:57, 19 October 2015

Request[edit]

Index Word Description
0 Header code [0x08510242]
1-4 ExtSaveDataInfo
5 Number of Directories
6 Number of Files
7-8 u64, Size Limit (default = -1)
9 SMDH Size
10 (SMDH Size << 4) | 0xA
11 SMDH Data Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This creates the ExtSaveData with the specified saveid in the specified media type. It stores the SMDH as "icon" in the root of the created directory. For more information see Extdata#VSXE_Filesystem_structure