diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-08-11 19:04:28 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-08-11 19:04:28 +0200 |
commit | 537ebd36ac47fc627c401882c9d79b094ff29a2d (patch) | |
tree | dcb9cce46d89bac051073178623d397f6f31aa59 /include/gba/types.h | |
parent | 85ebd76cd03e1ee84f182585060b3a79b8653e85 (diff) | |
parent | 6ae395a6366ceefffe8f492911a4e517bdbbc7b2 (diff) |
Merge contests with master
Diffstat (limited to 'include/gba/types.h')
-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 |