Function ctru_sys::DSP_LoadComponent
source · pub unsafe extern "C" fn DSP_LoadComponent(
component: *const c_void,
size: u32_,
prog_mask: u16_,
data_mask: u16_,
is_loaded: *mut bool
) -> Result
Expand description
Loads a DSP binary and starts the DSP
§Arguments
component
- The program file address in memorysize
- The size of the programprog_mask
- DSP memory block related ? Default is 0xff.data_mask
- DSP memory block related ? Default is 0xff.is_loaded
- Indicates if the DSP was succesfully loaded.
Note: The binary must be signed (http://3dbrew.org/wiki/DSP_Binary) Note: Seems to be called when the 3ds leaves the Sleep mode