nn::fs::MountSaveData Function

Syntax

Result MountSaveData(
     const char * archiveName = "data:"
);

Arguments

Name Description
in archiveName Specifies the name of the archive. (If this argument is omitted, "data:" is specified.)

Return Values

Returns the result of the operation.
Value Description
ResultSuccess Process was successful.
ResultNotFormatted Data region not formatted. Format it by calling the FormatSaveData function.
ResultBadFormat Data region format invalid. Format it by calling the FormatSaveData function.
ResultVerificationFailed Verification failed. Format it by calling the FormatSaveData function.
A value other than the above. Failed for reasons other than those given above.

Description

Mounts a save data archive.

Mounts an application-specific save data region and gives it the specified archive name. The save data region must be formatted before it can be used.

Be sure to check the return value when you call this function to determine whether the save data region is invalid. If the save data region is invalid, call the FormatSaveData function to initialize it. Call this function again afterwards to mount it.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL