X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fgp2x.c;h=3ed64fb35af18c4fc1ae72cf1c446139682d5b4d;hb=ca61ee42d9298aeb5a5c97d9addaa1832af41d67;hp=4995f08b6be7a3925758a083dff75f99869c80fa;hpb=ea08c2967b1c61e3b81c911dfd5eb7a0e72a28bf;p=picodrive.git diff --git a/platform/gp2x/gp2x.c b/platform/gp2x/gp2x.c index 4995f08..3ed64fb 100644 --- a/platform/gp2x/gp2x.c +++ b/platform/gp2x/gp2x.c @@ -22,6 +22,7 @@ #include #include +#include #include #include #include @@ -375,4 +376,13 @@ void gp2x_deinit(void) } } +/* lprintf */ +void lprintf(const char *fmt, ...) +{ + va_list vl; + + va_start(vl, fmt); + vprintf(fmt, vl); + va_end(vl); +}