notaz.gp2x.de
/
mupen64plus-pandora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c47c9
)
GLES2N64: Logging on the Pandora works now
author
ptitSeb
<sebastien.chev@gmail.com>
Tue, 22 Oct 2013 16:15:22 +0000
(18:15 +0200)
committer
ptitSeb
<sebastien.chev@gmail.com>
Tue, 22 Oct 2013 16:15:22 +0000
(18:15 +0200)
source/gles2n64/src/Common.h
patch
|
blob
|
blame
|
history
diff --git
a/source/gles2n64/src/Common.h
b/source/gles2n64/src/Common.h
index
ac508cd
..
89c9dd1
100755
(executable)
--- a/
source/gles2n64/src/Common.h
+++ b/
source/gles2n64/src/Common.h
@@
-21,12
+21,13
@@
#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