GLES2N64: Logging on the Pandora works now
[mupen64plus-pandora.git] / source / gles2n64 / src / Common.h
index ac508cd..89c9dd1 100755 (executable)
 
 #if LOG_LEVEL>0
 
-#include <android/log.h>
-
 #define LOG(A, ...) \
     if (A <= LOG_LEVEL) \
     { \
-        __android_log_print(ANDROID_LOG_DEBUG, "gles2n64", __VA_ARGS__); \
+        if (A == LOG_WARNING) printf("(WW) "); \
+        if (A == LOG_ERROR) printf("(EE) "); \
+        printf(__VA_ARGS__); \
+        fflush(stdout); \
     }
 
 #else