summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-08-05 08:33:45 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-08-05 08:33:45 -0400
commit51d5ee771d2f56870edf52c36328870e3f7efdef (patch)
tree4d090284f93a59b5c04516bddc7ef0386f631e5e /include
parentffc7a9be27ee534643ce4c969c89b7556f78b707 (diff)
parent1fc64b85824a49345b0fcd9672a65bf4e6acf3db (diff)
Merge branch 'master' into pokenav_unk_2
Diffstat (limited to 'include')
-rw-r--r--include/bg.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/bg.h b/include/bg.h
index ad5acd0ae..3c7eee292 100644
--- a/include/bg.h
+++ b/include/bg.h
@@ -27,13 +27,13 @@ enum
struct BgTemplate
{
- u32 bg:2; // 0x1, 0x2 -> 0x3
- u32 charBaseIndex:2; // 0x4, 0x8 -> 0xC
- u32 mapBaseIndex:5; // 0x10, 0x20, 0x40, 0x80, 0x100 -> 0x1F0
- u32 screenSize:2; // 0x200, 0x400 -> 0x600
- u32 paletteMode:1; // 0x800
- u32 priority:2; // 0x1000, 0x2000 > 0x3000
- u32 baseTile:10;
+ u16 bg:2; // 0x1, 0x2 -> 0x3
+ u16 charBaseIndex:2; // 0x4, 0x8 -> 0xC
+ u16 mapBaseIndex:5; // 0x10, 0x20, 0x40, 0x80, 0x100 -> 0x1F0
+ u16 screenSize:2; // 0x200, 0x400 -> 0x600
+ u16 paletteMode:1; // 0x800
+ u16 priority:2; // 0x1000, 0x2000 > 0x3000
+ u16 baseTile:10;
};
void ResetBgs(void);