summaryrefslogtreecommitdiff
path: root/include/gba/types.h
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-10-08 23:54:46 -0400
committerGitHub <noreply@github.com>2017-10-08 23:54:46 -0400
commitb0d49dbbfbfcf39c2a9f88572437b6af77c8f709 (patch)
treebe0dadd4cb3a6c36e27233836a6f104359d49949 /include/gba/types.h
parentb21c159b08c57a948edb268ac9b9b5baf6b4332d (diff)
parent3776a9fb4f0531535b0b5879dab7b3b6bd231736 (diff)
Merge branch 'master' into scaninc
Diffstat (limited to 'include/gba/types.h')
-rw-r--r--include/gba/types.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/gba/types.h b/include/gba/types.h
index 96e057ab7..480619d21 100644
--- a/include/gba/types.h
+++ b/include/gba/types.h
@@ -39,11 +39,11 @@ struct PlttData
struct OamData
{
/*0x00*/ u32 y:8;
- /*0x01*/ u32 affineMode:2;
- u32 objMode:2;
- u32 mosaic:1;
- u32 bpp:1;
- u32 shape:2;
+ /*0x01*/ u32 affineMode:2; // 0x1, 0x2 = 0x3
+ u32 objMode:2; // 0x4, 0x8 = 0xC
+ u32 mosaic:1; // 0x10
+ u32 bpp:1; // 0x20
+ u32 shape:2; // 0x40, 0x80
/*0x02*/ u32 x:9;
u32 matrixNum:5; // bits 3/4 are h-flip/v-flip if not in affine mode