Skip to content

Instantly share code, notes, and snippets.

@badboy
Created January 11, 2009 15:11
Show Gist options
  • Save badboy/45719 to your computer and use it in GitHub Desktop.
Save badboy/45719 to your computer and use it in GitHub Desktop.
void MPD::dprint(const char *fmt, ...)
{
if(!debug) return;
va_list list;
char msg[256];
va_start(list, fmt);
vsprintf(msg, fmt, list);
va_end(list);
//pspDebugScreenInit();
//pspDebugScreenClear();
pspDebugScreenPuts(msg);
//sceKernelDelayThread(milisecs * 1000);
//sceKernelExitGame();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment