File:  [RetroPC.NET] / xmil / nds / win32s / trace.cpp
Revision 1.1: download - view: text, annotated - select for diffs
Tue Mar 24 22:52:53 2009 JST (16 years, 7 months ago) by yui
Branches: MAIN
CVS tags: HEAD
add nds-win32 simulation project

#include "compiler.h"
#include <stdarg.h>
#include "libnds.h"

#ifdef TRACE
void trace_fmt(const char *lpcszFormat, ...)
{
	va_list	ap;
	va_start(ap, lpcszFormat);
	char szWork[256];
	vsprintf(szWork, lpcszFormat, ap);
	va_end(ap);
	iprintf("%s\n", szWork);
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>