Difference between revisions of "FS:CreateExtSaveData"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x08510242] |- | 1 | Media type (NAND / SDMC) |- | 2 | Low word of the saveid |- |...")
 
m (Add missing response.)
Line 40: Line 40:
 
| 11
 
| 11
 
| Pointer to the SMDH buffer
 
| Pointer to the SMDH buffer
 +
|}
 +
 +
=Response=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Index Word
 +
!  Description
 +
|-
 +
| 0
 +
| Header code
 +
|-
 +
| 1
 +
| Result code
 
|}
 
|}
  
 
=Description=
 
=Description=
 
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]]
 
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]]

Revision as of 02:25, 17 October 2015

Request

Index Word Description
0 Header code [0x08510242]
1 Media type (NAND / SDMC)
2 Low word of the saveid
3 High word of the saveid
4 Unknown
5 Unknown
6 Unknown
7 Unknown
8 Unknown
9 Size of the SMDH icon
10 (SMDH Size << 4) | 0x0000000A
11 Pointer to the SMDH buffer

Response

Index Word Description
0 Header code
1 Result code

Description

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