Function ctru_sys::FSUSER_CreateSystemSaveData
source · pub unsafe extern "C" fn FSUSER_CreateSystemSaveData(
info: FS_SystemSaveDataInfo,
totalSize: u32_,
blockSize: u32_,
directories: u32_,
files: u32_,
directoryBuckets: u32_,
fileBuckets: u32_,
duplicateData: bool
) -> Result
Expand description
Creates system save data.
§Arguments
info
- Info of the save data.totalSize
- Total size of the save data.blockSize
- Block size of the save data. (usually 0x1000)directories
- Number of directories.files
- Number of files.directoryBuckets
- Directory hash tree bucket count.fileBuckets
- File hash tree bucket count.duplicateData
- Whether to store an internal duplicate of the data.