GBA: Add DANGER level, which is ERROR in release and FATAL in debug
This commit is contained in:
parent
271211846f
commit
38ab86fdcb
@ -46,7 +46,13 @@ enum GBALogLevel {
|
||||
GBA_LOG_GAME_ERROR = 0x100,
|
||||
GBA_LOG_SWI = 0x200,
|
||||
|
||||
GBA_LOG_ALL = 0x33F
|
||||
GBA_LOG_ALL = 0x33F,
|
||||
|
||||
#ifdef NDEBUG
|
||||
GBA_LOG_DANGER = GBA_LOG_ERROR
|
||||
#else
|
||||
GBA_LOG_DANGER = GBA_LOG_FATAL
|
||||
#endif
|
||||
};
|
||||
|
||||
enum GBAKey {
|
||||
|
Loading…
x
Reference in New Issue
Block a user