sgdk
config.h
Go to the documentation of this file.
00001 
00010 #ifndef _CONFIG_
00011 #define _CONFIG_
00012 
00013 
00018 #define LOG_LEVEL_DISABLE       0
00019 
00023 #define LOG_LEVEL_ERROR         1
00024 
00028 #define LOG_LEVEL_WARNING       2
00029 
00033 #define LOG_LEVEL_INFO          3
00034 
00039 #define LIB_LOG_LEVEL           LOG_LEVEL_ERROR
00040 
00045 #if (DEBUG != 0)
00046     #define LIB_DEBUG           1
00047 #else
00048     #define LIB_DEBUG           0
00049     #undef LIB_LOG_LEVEL
00050     #define LIB_LOG_LEVEL       LOG_LEVEL_DISABLE
00051 #endif
00052 
00060 #define HALT_Z80_ON_DMA         1
00061 
00068 #define HALT_Z80_ON_IO          1
00069 
00074 #define DMA_DISABLED            0
00075 
00082 #define LEGACY_SPRITE_ENGINE    0
00083 
00092 #define ENABLE_BANK_SWITCH      0
00093 
00099 #define ENABLE_NEWLIB           0
00100 
00105 #define ENABLE_LOGO             0
00106 
00107 #if (ENABLE_LOGO != 0)
00108 
00113 #define ZOOMING_LOGO            0
00114 
00115 #endif // ENABLE_LOGO
00116 
00117 
00122 #define FORCE_INLINE            inline __attribute__((always_inline))
00123 
00128 #define NO_INLINE               __attribute__ ((noinline))
00129 
00130 
00135 #define MODULE_EVERDRIVE        0
00136 
00142 #define MODULE_FAT16            0
00143 
00144 // FAT16 need EVERDRIVE
00145 #if ((MODULE_EVERDRIVE == 0) && (MODULE_FAT16 != 0))
00146 #error "Cannot enable FAT16 module without EVERDRIVE module"
00147 #endif
00148 
00152 #define MODULE_MEGAWIFI         0
00153 
00159 #define MODULE_FLASHSAVE        1
00160 
00166 #define MODULE_CONSOLE          1
00167 
00168 
00169 #endif // _CONFIG_
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines