aboutsummaryrefslogtreecommitdiffstats
path: root/src/gba
diff options
context:
space:
mode:
Diffstat (limited to 'src/gba')
-rw-r--r--src/gba/gba.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gba/gba.h b/src/gba/gba.h
index 3a84b89..cdb3b31 100644
--- a/src/gba/gba.h
+++ b/src/gba/gba.h
@@ -101,12 +101,15 @@ typedef Color Palette[16];
101#define RGB15(R,G,B) (u16)(((B) << 10) | ((G) << 5) | (R)); 101#define RGB15(R,G,B) (u16)(((B) << 10) | ((G) << 5) | (R));
102 102
103// Some nice default colors. 103// Some nice default colors.
104#define COLOR_RED RGB15(31, 0,12) 104#define COLOR_BLACK RGB15(0, 0, 0)
105#define COLOR_BLUE RGB15(2, 15,30) 105#define COLOR_RED RGB15(31, 0,10)
106#define COLOR_CYAN RGB15(0, 30,30) 106#define COLOR_GREEN RGB15(31, 0,10)
107#define COLOR_GREY RGB15(12,12,12) 107#define COLOR_YELLOW RGB15(31, 0,10)
108#define COLOR_BLACK RGB15(0, 0, 0) 108#define COLOR_BLUE RGB15(2, 17,31)
109#define COLOR_WHITE RGB15(28,28,28) 109#define COLOR_PURPLE RGB15(2, 17,31)
110#define COLOR_CYAN RGB15(0, 27,30)
111#define COLOR_GREY RGB15(16,17,19)
112#define COLOR_WHITE RGB15(28,28,28)
110 113
111// 114//
112// Tile memory access. 115// Tile memory access.