diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-08-12 12:04:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-12 12:04:53 -0700 |
commit | 26e18f2292a17bb75bc20d924bebafb88077cb54 (patch) | |
tree | b9b697df0d2309fbbac8d8d5b2c609a655c5e68c /include/gba | |
parent | 21060091d109a6ebc4d1d76b8487878bb91cd5e1 (diff) | |
parent | 957dcd01b382fb74e9b1967851ef3cfb6ca983eb (diff) |
Merge pull request #289 from DizzyEggg/contests
Pikalax's contests
Diffstat (limited to 'include/gba')
-rw-r--r-- | include/gba/types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/gba/types.h b/include/gba/types.h index 9f63489aa..a7dbf3e03 100644 --- a/include/gba/types.h +++ b/include/gba/types.h @@ -28,6 +28,17 @@ typedef u8 bool8; typedef u16 bool16; typedef u32 bool32; +struct BgCnt +{ + u16 priority:2; + u16 charBaseBlock:2; + u16 dummy:4; + u16 screenBaseBlock:5; + u16 areaOverflowMode:1; + u16 screenSize:2; +}; +typedef volatile struct BgCnt vBgCnt; + struct PlttData { u16 r:5; // red |