psp port runs, bad colors
[libpicofe.git] / common / lprintf.h
index d09a461..1d74323 100644 (file)
@@ -1,7 +1,15 @@
-#if defined(__GP2X__) || defined(PSP)
-#include <stdio.h>
-#define lprintf printf
+#if defined(__GP2X__)
+ #include <stdio.h>
+ #define lprintf printf
+#elif defined(PSP)
+ #if 0
+  #include <stdio.h>
+  #define lprintf printf
+ #else
+  extern void lprintf_f(const char *fmt, ...);
+  #define lprintf lprintf_f
+ #endif
 #else
-#include "giz.h"
+ #include "giz.h"
 #endif