nn::fs::GetSaveDataFormatInfo Function

Syntax

Result GetSaveDataFormatInfo(
     size_t * maxFiles,
     size_t * maxDirectories,
     bool * isDuplicateAll
);

Parameters

Name Description
out maxFiles The maximum number of files.
out maxDirectories The maximum number of directories.
out isDuplicateAll Sets whether the entire save data region is being duplicated.

Return Values

Returns the result of the operation.
Value Description
Result::IsSuccess Process was successful.
ResultNotFormatted Data region not formatted. Format the region by calling the FormatSaveData function.
ResultBadFormat Data region format invalid. Format it by calling the FormatSaveData function.
ResultVerificationFailed Either verification failed or some form of tampering was detected. Format it by calling the FormatSaveData function.
A value other than the above An unexpected or fatal error occurred.

Description

Gets the format parameter for the save data region.

Revision History

2011/01/21
Initial version.

CONFIDENTIAL