Function ctru_sys::consoleInit

source ·
pub unsafe extern "C" fn consoleInit(
    screen: gfxScreen_t,
    console: *mut PrintConsole
) -> *mut PrintConsole
Expand description

Initialise the console.

§Arguments

  • screen - The screen to use for the console.
  • console - A pointer to the console data to initialize (if it’s NULL, the default console will be used).

§Returns

A pointer to the current console.