Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Use SDL gamepad mapping in environment by @ZLau92, implement @Sergeanur
… 's idea to use PPSSPP's DB if available, disable DEV() messages by default
  • Loading branch information
erorcun committed Dec 9, 2020
1 parent 6b65409 commit 122c7aa40dda35107312fe91e0c61852c3056ddc
Showing with 236 additions and 4 deletions.
  1. +7 −1 src/core/common.h
  2. +199 −0 src/extras/gamecontrollerdb.txt
  3. +30 −3 src/skel/glfw/glfw.cpp
@@ -248,8 +248,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__)

0 comments on commit 122c7aa

Please sign in to comment.