sgdk
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1
10#ifndef _CONFIG_
11#define _CONFIG_
12
13
18#define LOG_LEVEL_DISABLE 0
23#define LOG_LEVEL_ERROR 1
28#define LOG_LEVEL_WARNING 2
33#define LOG_LEVEL_INFO 3
34
39#define LIB_LOG_LEVEL LOG_LEVEL_ERROR
40
45#if (DEBUG != 0)
46 #define LIB_DEBUG 1
47#else
48 #define LIB_DEBUG 0
49 #undef LIB_LOG_LEVEL
50 #define LIB_LOG_LEVEL LOG_LEVEL_DISABLE
51#endif
52
60#define HALT_Z80_ON_DMA 1
61
68#define HALT_Z80_ON_IO 1
69
74#define DMA_DISABLED 0
75
82#define LEGACY_SPRITE_ENGINE 0
83
92#define ENABLE_BANK_SWITCH 0
93
99#define ENABLE_NEWLIB 0
100
105#define ENABLE_LOGO 0
106
107#if (ENABLE_LOGO != 0)
108
113#define ZOOMING_LOGO 0
114
115#endif // ENABLE_LOGO
116
117
122#define FORCE_INLINE inline __attribute__((always_inline))
123
128#define NO_INLINE __attribute__ ((noinline))
129
130
135#define MODULE_EVERDRIVE 0
136
142#define MODULE_FAT16 0
143
144// FAT16 need EVERDRIVE
145#if ((MODULE_EVERDRIVE == 0) && (MODULE_FAT16 != 0))
146#error "Cannot enable FAT16 module without EVERDRIVE module"
147#endif
148
152#define MODULE_MEGAWIFI 0
153
159#define MODULE_FLASHSAVE 1
160
166#define MODULE_CONSOLE 0
167
173#define MODULE_FRACTAL 0
174
175
176#endif // _CONFIG_