#include <nitro/gx/gx_bgcnt.h>
static inline GXBGExtMode G2_GetBG3ExtMode( void );
static inline GXBGExtMode G2S_GetBG3ExtMode( void );
None.
The Affine Expanded BG type settings for BG3.
Gets the expanded BG type settings for BG3 as GXBGExtMode
. Use the G2_GetBG3ExtMode
function to get the settings for the main 2D engine, and G2S_GetBG3ExtMode
to get the settings for the sub 2D engine. To use this function, the BG mode of BG3 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.