

#include <nitro/gx/gx_bgcnt.h>static inline GXBg01Control G2_GetBG1Control( void );static inline GXBg01Control G2S_GetBG1Control( void );
なし。
BG1の表示設定を取得します。
BG1の表示設定をGXBg01Control構造体として取得します。
各メンバについてはG2_SetBG1Control() を参照してください。
G2_GetBG1Control() ではメイン2Dエンジン、G2S_GetBG1Control() ではサブ2Dエンジンの設定を取得できます。
GXBg01Controlの定義は以下のようになっております。
typedef union
{
u16 raw;
struct
{
u16 priority:2;
u16 charBase:4;
u16 mosaic:1;
u16 colorMode:1;
u16 screenBase:5;
u16 bgExtPltt:1;
u16 screenSize:2;
};
}
GXBg01Control;
G2_SetBG1Control, G2S_SetBG1Control
Ver. 2004/12/24