nn::fs::MountSdmc FunctionResult MountSdmc( const char * archiveName = "sdmc:" );
| Name | Description | |
|---|---|---|
| in | archiveName | Specifies the name of the archive. (If this argument is omitted, it is specified as sdmc:.) |
| Value | Description |
|---|---|
| Success | Process was successful. The return value's IsSuccess function returns true in this state. |
ResultMediaNotFound |
An SD Card could not be found or recognized. |
ResultArchiveInvalidated |
The SD Card may have been removed during the mount operation. |
ResultMediaAccessError |
An error occurred while accessing the SD Card due to some cause such as a loose connection. |
ResultBadFormat |
The SD Card has an invalid format. You must format the SD Card. |
| A value other than the above. | An application bug or some other unexpected error. |
Mounts an archive that directly accesses the SD Memory Card (for debugging only).
Mounts the archive that directly accesses the inserted SD Memory Card. The function fails if an SD Memory Card is not inserted or the SD Memory Card is not formatted. If a mounted SD Card has been removed and reinserted, you must first unmount the SD Card using the nn::fs::Unmount function and then run the nn::fs::MountSdmc function again to mount it.
Note: This is only for debugging and cannot be accessed from retail versions.
To use this function, you must add the "- Debug" attribute to the filesystem access permissions in your RSF file. For details, see ctr_makerom.
ResultMediaAccessError.ResultBadFormat to the results and removed ResultWriteProtected.
CONFIDENTIAL