gba-trycatch
annotate src/config.h @ 13:2070a81127f2
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 23 Jun 2014 08:28:28 +0300 |
parents | 73b5f2e5d18a |
children |
rev | line source |
---|---|
nuclear@5 | 1 #ifndef CONFIG_H_ |
nuclear@5 | 2 #define CONFIG_H_ |
nuclear@5 | 3 |
nuclear@9 | 4 #include "gbasys.h" |
nuclear@9 | 5 |
nuclear@9 | 6 /* 3: 240x160:16 |
nuclear@9 | 7 * 4: 240x160:8 |
nuclear@9 | 8 * 5: 160x128:16 |
nuclear@9 | 9 */ |
nuclear@9 | 10 #define GFX_MODE 5 |
nuclear@9 | 11 |
nuclear@9 | 12 #if (GFX_MODE == 3) || (GFX_MODE == 4) |
nuclear@9 | 13 #define WIDTH 240 |
nuclear@9 | 14 #define HEIGHT 160 |
nuclear@9 | 15 #else |
nuclear@5 | 16 #define WIDTH 160 |
nuclear@5 | 17 #define HEIGHT 128 |
nuclear@9 | 18 #endif |
nuclear@9 | 19 |
nuclear@9 | 20 #if (GFX_MODE == 4) |
nuclear@9 | 21 #define PALMODE |
nuclear@9 | 22 #endif |
nuclear@5 | 23 |
nuclear@5 | 24 #endif /* CONFIG_H_ */ |