

#include <nitro/gx/gx_bgcnt.h>static inline GXBg23Control256Bmp G2_GetBG3Control256Bmp( void );static inline GXBg23Control256Bmp G2S_GetBG3Control256Bmp( void );
なし。
BG3の設定。
アフィン拡張BGで256色ビットマップBGの場合のBG3の設定をGXBg23Control256Bmp構造体として取得します。
各メンバについてはG2_SetBG3Control256Bmp() を参照してください。
この関数はBG3が256色ビットマップBGに設定されている状態で使用する必要があります。
G2_GetBG3Control256Bmp() ではメイン2Dエンジン、G2S_GetBG3Control256Bmp() ではサブ2Dエンジンの設定を取得できます。
GXBg23Control256Bmpの定義は以下のようになっております。
typedef union
{
u16 raw;
struct
{
u16 priority :2;
u16 _reserve1 :4;
u16 mosaic :1;
u16 _reserve2 :1;
u16 screenBase :5;
u16 areaOver :1;
u16 screenSize :2;
};
}
GXBg23Control256Bmp;
G2_SetBG3Control256Bmp, G2S_SetBG3Control256Bmp
Ver. 2004/12/24