X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Fgles2n64%2Fsrc%2FCommon.h;h=89c9dd1677defd9ac5c22b583d8c966256fdb192;hb=refs%2Fheads%2Fmaster;hp=ac508cdcf0d81ac2ed975665201963dd602ceae8;hpb=34cf40586ac07c54d9bfc5be30f28743232b6d67;p=mupen64plus-pandora.git diff --git a/source/gles2n64/src/Common.h b/source/gles2n64/src/Common.h index ac508cd..89c9dd1 100755 --- a/source/gles2n64/src/Common.h +++ b/source/gles2n64/src/Common.h @@ -21,12 +21,13 @@ #if LOG_LEVEL>0 -#include - #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