KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Initialization

Initialization and shutdown of the video subsystem More...

Functions

void vid_init (int disp_mode, vid_pixel_mode_t pixel_mode)
 Initialize the video system.
 
void vid_shutdown (void)
 Shut down the video system.
 

Detailed Description

Initialization and shutdown of the video subsystem

Function Documentation

◆ vid_init()

void vid_init ( int disp_mode,
vid_pixel_mode_t pixel_mode )

Initialize the video system.

This function initializes the video display, setting the mode to the specified parameters, clearing vram, and setting the first framebuffer as active.

Parameters
disp_modeThe display mode to use. One of the DM_* values.
pixel_modeThe pixel mode to use. One of the PM_* values.

◆ vid_shutdown()

void vid_shutdown ( void )

Shut down the video system.

This function reinitializes the video system to what dcload and friends expect it to be.