G2_GetBG0ScrPtr


C Specification

#include <nitro/gx/g2.h>
void *G2_GetBG0ScrPtr();

Description

This function returns the pointer to the region where the Main 2D Engine BG0 screen data is stored. The return values are as follows:

HW_BG_VRAM + (Last value in the value name of GXBGScrOffset enum type specified by GX_SetBGScrOffset) + (Last value in the value name of GXBGScrBase enum type specified by G2_SetBG0Control) .

Arguments

None.

Return Values

The pointer to the region storing the BG0 screen.

See Also

G2_SetBG0Control, G2_SetBG0Priority, G2_BG0Mosaic, G2_GetBG0CharPtr, G2_SetBG0Offset

Revision History

02/09/2004 Added to Description
01/19/2004 Initial Version