#include <nitro/gx/g2.h>
void *G2_GetBG2ScrPtr();
None.
The pointer to the region storing the BG2 screen.
This function returns the pointer to the region where the Main 2D Engine BG2 screen data base is stored. The return values are as follows for character BGs:
HW_BG_VRAM+ (Last value in the value name ofGXBGScrOffsetenum type specified byGX_SetBGScrOffset) + (Last value in the value name ofGXBGScrBaseenum type specified byG2_SetBG2ControlText)
The return values are as follows for bitmap BGs:
The value at the end of the enumerator type value nameGXBGBmpScrBase
that is specified byHW_BG_VRAM
+ (G2 SetBG3Control256Bmp).
G2_SetBG2ControlText, ... G2_SetBG2Priority, G2_BG2Mosaic, G2_GetBG2CharPtr, G2_SetBG2Offset
2006/03/01 Corrected description of bitmap BG
02/09/2004
01/19/2004 Initial version.
CONFIDENTIAL