diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-09 03:41:45 +0300 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-09 06:36:28 +0300 |
commit | cf4aedd97cda528dd77bfce06eb3e46a7382ced1 (patch) | |
tree | 6045bfb10cd7a49268e1f0775d244b340665d986 /src/core | |
parent | ac3484b82e0bd286ddd1e56fb566303d7a3ca40d (diff) |
Use SDL gamepad mapping in environment by @ZLau92, implement @Sergeanur 's idea to use PPSSPP's DB if available, disable DEV() messages by default
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/common.h b/src/core/common.h index 9c81cf3b..181389da 100644 --- a/src/core/common.h +++ b/src/core/common.h @@ -251,8 +251,14 @@ void re3_usererror(const char *format, ...); #define DEBUGBREAK() __debugbreak(); -#define debug(f, ...) re3_debug("[DBG]: " f, ## __VA_ARGS__) +// Switch to enable development messages. +#if 1 +#define DEV(f, ...) +#else #define DEV(f, ...) re3_debug("[DEV]: " f, ## __VA_ARGS__) +#endif + +#define debug(f, ...) re3_debug("[DBG]: " f, ## __VA_ARGS__) #define TRACE(f, ...) re3_trace(__FILE__, __LINE__, __FUNCTION__, f, ## __VA_ARGS__) #define Error(f, ...) re3_debug("[ERROR]: " f, ## __VA_ARGS__) #define USERERROR(f, ...) re3_usererror(f, ## __VA_ARGS__) |