diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-12-23 13:32:58 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-12-23 13:32:58 -0500 |
commit | 65e35eb2195277214cfaecec183a2fba64e8e538 (patch) | |
tree | c073aceff1ceba29fdb4d65767a18a07c15c7117 /include/gba/types.h | |
parent | 6675a6782f3c9be808672aa12c061f1d3f1f5d2e (diff) | |
parent | aa13f45ebb79aed62171fbfe654d8b542fc9aa6c (diff) |
Merge branch 'master' into decompile_data
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 480619d21..33ae7df9a 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 |