Function ctru_sys::aptSetChainloaderArgs
source · pub unsafe extern "C" fn aptSetChainloaderArgs(
deliverArg: *const c_void,
deliverArgSize: usize,
hmac: *const c_void
)
Expand description
Sets the “deliver arg” and HMAC for the chainloader, which will be passed to the target 3DS/DS(i) application. The meaning of each parameter varies on a per-application basis.
§Arguments
deliverArg
- Deliver arg to pass to the target application.deliverArgSize
- Size of the deliver arg, maximum 0x300 bytes.hmac
- HMAC buffer, 32 bytes. Use NULL to pass an all-zero dummy HMAC.