# G2S_GetBG0ScrPtr

## Syntax

      #include <nitro/gx/g2.h>

      void *G2S_GetBG0ScrPtr();

## Arguments

None.

## Return Values

The pointer to the region storing the BG0 screen.

## Description

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

> `HW_DB_BG_VRAM` + (the value at the end of the name for the `GXBGScrBase` enumerated type specified by the `G2S_SetBG0Control` function)

## See Also

`G2S_SetBG0Control, G2S_SetBG0Priority, G2S_BG0Mosaic, G2S_GetBG0CharPtr, G2S_SetBG0Offset`

## Revision History

2004/02/09 Initial version.

CONFIDENTIAL