diff options
| author | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-10-13 06:56:42 +0800 | 
|---|---|---|
| committer | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-10-13 06:56:42 +0800 | 
| commit | b9f3f05b67579d65347e5b9a4b1aaf4ae8afd2a7 (patch) | |
| tree | bbf44905bd74446d55b32f2d03b0f858b1e59351 /include | |
| parent | ce18093251f35ad6369d9d42d84e8fe60d398891 (diff) | |
InitBgsFromTemplates
Diffstat (limited to 'include')
| -rw-r--r-- | include/bg.h | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/include/bg.h b/include/bg.h index 0f20bf1fd..8d7367871 100644 --- a/include/bg.h +++ b/include/bg.h @@ -59,13 +59,13 @@ enum BgTileAllocMode  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); | 
