Function ctru_sys::NIMS_MakeTitleConfig
source · pub unsafe extern "C" fn NIMS_MakeTitleConfig(
cfg: *mut NIM_TitleConfig,
titleId: u64_,
version: u32_,
ratingAge: u8_,
mediaType: FS_MediaType
)
Expand description
Makes a TitleConfig struct for use with NIMS_RegisterTask, NIMS_StartDownload or NIMS_StartDownloadSimple.
§Arguments
cfg
- Struct to initialize.titleId
- Title ID to download and install.version
- Version of the title to download and install.ratingAge
- Age for which the title is aged; used by parental controls in HOME Menu.mediaType
- Media type of the title to download and install.