nn::fs::MountExtSaveData Function

Syntax

Result MountExtSaveData(
     const char * archiveName,
     nn::fs::ExtSaveDataId id
);

Arguments

Name Description
in archiveName Specifies the archive name.
in id Specifies the ID of the expanded save data.

Return Values

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

Description

Mounts expanded save data.

Mounts as an archive the expanded save data region having the specified ID.

Be sure to check the return value when you call this function to determine whether the expanded save data region is invalid. If the expanded save data region is invalid, delete it using the DeleteExtSaveData function and then recreate it using the CreateExtSaveData function. Call this function again afterwards to mount it.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL