summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-08-12 12:04:53 -0700
committerGitHub <noreply@github.com>2018-08-12 12:04:53 -0700
commit26e18f2292a17bb75bc20d924bebafb88077cb54 (patch)
treeb9b697df0d2309fbbac8d8d5b2c609a655c5e68c /include/gba
parent21060091d109a6ebc4d1d76b8487878bb91cd5e1 (diff)
parent957dcd01b382fb74e9b1967851ef3cfb6ca983eb (diff)
Merge pull request #289 from DizzyEggg/contests
Pikalax's contests
Diffstat (limited to 'include/gba')
-rw-r--r--include/gba/types.h11
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