diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-10-13 12:25:32 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-10-13 12:25:32 +0200 |
commit | 0f44747788b774021519d600cb612c8c3303aa7d (patch) | |
tree | 2d85f2c104721543d81bbbf0c2f391871abaf0d5 /include | |
parent | b229a1c295f9c4a722959ec564a1cb86d1a9eaef (diff) |
review changes
Diffstat (limited to 'include')
-rw-r--r-- | include/bg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/bg.h b/include/bg.h index 0dcb84a34..0c6b4ac26 100644 --- a/include/bg.h +++ b/include/bg.h @@ -1,6 +1,16 @@ #ifndef GUARD_BG_H #define GUARD_BG_H +struct BGCntrlBitfield // for the I/O registers +{ + volatile u16 priority:2; + volatile u16 charBaseBlock:2; + volatile u16 field_0_2:4; + volatile u16 field_1_0:5; + volatile u16 areaOverflowMode:1; + volatile u16 screenSize:2; +}; + enum { BG_CTRL_ATTR_VISIBLE = 1, |