Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdarg.h>
- int print_debug(char *format, ...)
- {
- va_list args;
- char * s = NULL;
- s = (char*)malloc(strlen(format)+512);
- va_start(args, format);
- int r = vsprintf(s,format, args);
- va_end(args);
- sceIoWrite(2, s, strlen(s));
- free(s);
- return r;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement