G2_GetBG1ScrPtr


C Specification

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

Description

This function returns the pointer to the region where the Main 2D Engine BG1 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_SetBG1Control).

Arguments

None.

Return Values

The pointer to the region storing the BG1 screen.

See Also

G2_SetBG1Control, G2_SetBG1Priority, G2_BG1Mosaic, G2_GetBG1CharPtr, G2_SetBG1Offset

Revision History

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