Function ctru_sys::NIMS_StartDownload
source · pub unsafe extern "C" fn NIMS_StartDownload(
cfg: *const NIM_TitleConfig,
mode: NIM_InstallationMode
) -> Result
Expand description
Starts an active download with NIM. Progress can be checked with NIMS_GetProcess. Do not exit the process while a download is in progress without calling NIMS_CancelDownload.
§Arguments
cfg
- Title config to use. See NIMS_MakeTitleConfig.mode
- The installation mode to use. See NIM_InstallationMode.