nn::fs::FormatAndMountExtSaveData Function

Syntax

Result FormatAndMountExtSaveData(
     nn::fs::MediaType * pOut,
     const char * archiveName,
     nn::fs::ExtSaveDataId id,
     const void * iconData,
     size_t iconDataSize,
     u32 entryDirectory,
     u32 entryFile
);

Arguments

Name Description
out pOut Returns the media on which the extended save data was created.
in archiveName Specifies the archive name.
in id Specifies the ID of the extended save data.
in iconData Specifies the memory where the icon data is stored.
in iconDataSize Specifies the size of the icon data.
in entryDirectory Specifies the number of directories to be stored in this extended save data region.
in entryFile Specifies the number of files to be stored in this extended save data region.

Return Values

Returns the result of the operation.

Description

Formats extended save data and mounts it.

Formats extended save data having the specified extended save data ID, and mounts it using the specified archive name. When extended save data is created, icon data must be registered that conforms to the icon format of extended save data.

The pOut argument returns the media on which the extended save data was created by this function.


CONFIDENTIAL