nn::fs::FormatSaveData Function

Syntax

Result FormatSaveData(
     size_t maxFiles,
     size_t maxDirectories
);

Arguments

Name Description
in maxFiles Specifies the maximum number of files.
in maxDirectories Specifies the maximum number of directories.

Return Values

Returns the result of the operation.

Description

Formats a save data region.

Formats an application-specific save data region. Calling this function will erase any save data that may have existed there.

When you format this save data region, you can specify the maximum number of files and directories that can be created in it. The system will not allow creation of files and directories in excess of these values.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL