review changes

This commit is contained in:
DizzyEggg
2017-10-13 12:25:32 +02:00
parent b229a1c295
commit 0f44747788
3 changed files with 11 additions and 12 deletions

View File

@@ -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,