diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-05-02 19:59:00 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-05-02 19:59:00 -0400 |
commit | f9230e80aa1fd32d0428af9b684dcf4395148fc3 (patch) | |
tree | 875098b491203cf8021eb65a82ca57f96c4229a8 /include/gba | |
parent | 4bf09504216c1c9668843cc93b5392cd1022a4c1 (diff) |
through vblank_cb_battle
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 |