nn::fs::FormatSaveData Function

Syntax

Result FormatSaveData(
     size_t maxFiles,
     size_t maxDirectories,
     bool isDuplicateAll = false
);

Arguments

Name Description
in maxFiles Specifies the maximum number of files.
in maxDirectories Specifies the maximum number of directories.
in isDuplicateAll Specifies whether to duplicate entire save data memory region.

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. Note that you cannot create any more than this number of files and directories.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL