diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/GX_layers.h | 6 | ||||
-rw-r--r-- | include/bg_window.h | 16 | ||||
-rw-r--r-- | include/timer3.h | 6 |
3 files changed, 12 insertions, 16 deletions
diff --git a/include/GX_layers.h b/include/GX_layers.h index aca0154b..03c20df6 100644 --- a/include/GX_layers.h +++ b/include/GX_layers.h @@ -5,12 +5,6 @@ #include "global.h" #include "gx.h" -struct GX_LayerData -{ - u32 EngineB_DISPCNT_LayerMask; - u32 EngineA_DISPCNT_LayerMask; -}; - typedef enum { GX_LAYER_TOGGLE_OFF, diff --git a/include/bg_window.h b/include/bg_window.h index 91026b4d..24ed152b 100644 --- a/include/bg_window.h +++ b/include/bg_window.h @@ -12,10 +12,10 @@ struct BgTemplate { - u32 unk00; - u32 unk04; + u32 x; + u32 y; u32 bufferSize; - u32 unk0c; + u32 baseTile; u8 size; u8 colorMode; @@ -85,10 +85,16 @@ struct Window u8 height; u8 paletteNum; u16 baseTile : 15; - u16 unk0b_15 : 1; + u16 colorMode : 1; void *pixelBuffer; }; +enum GFBppMode +{ + GF_BG_CLR_4BPP = 0, + GF_BG_CLR_8BPP, +}; + enum GFBgLayer { GF_BG_LYR_MAIN_0 = 0, @@ -112,6 +118,8 @@ enum GFBgLayer GF_BG_LYR_SUB_1_F = 1 << (GF_BG_LYR_SUB_1 - GF_BG_LYR_SUB_FIRST), GF_BG_LYR_SUB_2_F = 1 << (GF_BG_LYR_SUB_2 - GF_BG_LYR_SUB_FIRST), GF_BG_LYR_SUB_3_F = 1 << (GF_BG_LYR_SUB_3 - GF_BG_LYR_SUB_FIRST), + + GF_BG_LYR_UNALLOC = 0xFF, }; enum GFBgType diff --git a/include/timer3.h b/include/timer3.h index 3220c7a3..a49cf3e6 100644 --- a/include/timer3.h +++ b/include/timer3.h @@ -4,12 +4,6 @@ #include "global.h" -struct Timer3Data -{ - BOOL NeedReset; - vu64 Timer3Counter; -}; - void Init_Timer3(); void CountUpTimer3(); u64 internal_GetTimer3Count(); |