#include <nitro/gx/gx_bgcnt.h>
static inline GXBGExtMode G2_GetBG2ExtMode( void );
static inline GXBGExtMode G2S_GetBG2ExtMode( void );
None.
The Affine Extended BG type settings for BG2.
Gets the expanded BG type settings for BG2 as GXBGExtMode
. Use the G2_GetBG2ExtMode
function to get the settings for the main 2D engine, and G2S_GetBG2ExtMode
to get the settings for the sub 2D engine. To use this function, the BG mode of BG2 must be set to Affine Expanded BG. The following is the definition of GXBGExtMode
:
typedef enum { GX_BG_EXTMODE_256x16PLTT = (0 << REG_G2_BG2CNT_CHARBASE_SHIFT) | (0 << REG_G2_BG2CNT_COLORMODE_SHIFT), GX_BG_EXTMODE_256BITMAP = (0 << REG_G2_BG2CNT_CHARBASE_SHIFT) | (1 << REG_G2_BG2CNT_COLORMODE_SHIFT), GX_BG_EXTMODE_DCBITMAP = (1 << REG_G2_BG2CNT_CHARBASE_SHIFT) | (1 << REG_G2_BG2CNT_COLORMODE_SHIFT) } GXBGExtMode;
GX_SetGraphicsMode, GXS_SetGraphicsMode
12/24/2004 Initial version.