summaryrefslogtreecommitdiff
path: root/include/gba/types.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-10 03:32:55 -0700
committerYamaArashi <shadow962@live.com>2016-06-10 18:37:25 -0700
commita27cec41b55f1c780ee2be3041701b1f0e31e047 (patch)
tree75c99e8ba39a9e3ea7b3965fbb33bdda76fd9b15 /include/gba/types.h
parenta37de9f76364f3ed95c49ca1417ee01cd4d617b1 (diff)
decompile palette.c
Diffstat (limited to 'include/gba/types.h')
-rw-r--r--include/gba/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/gba/types.h b/include/gba/types.h
index 1274d4f0d..740c72d92 100644
--- a/include/gba/types.h
+++ b/include/gba/types.h
@@ -26,6 +26,14 @@ typedef u8 bool8;
typedef u16 bool16;
typedef u32 bool32;
+struct PlttData
+{
+ u16 r:5; // red
+ u16 g:5; // green
+ u16 b:5; // blue
+ u16 unused_15:1;
+};
+
struct OamData
{
u32 y:8;