X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=dprintf.h;fp=dprintf.h;h=01d56d71981758f40777bce26717c41a81446cda;hp=0000000000000000000000000000000000000000;hb=4fdfab079f3f006ae215ab453072a25588aa951d;hpb=13a7da558887ad47a9f21b4c86cc4d7fd797cf42 diff --git a/dprintf.h b/dprintf.h new file mode 100644 index 0000000..01d56d7 --- /dev/null +++ b/dprintf.h @@ -0,0 +1,16 @@ +#if 0 +#include + +extern uint32 timestamp; +extern uint32 framecount; +extern int scanline; + +#undef dprintf +#define dprintf(f,...) printf("%05u:%05u:%03i: " f "\n",timestamp,framecount,scanline,##__VA_ARGS__) + +#else + +#define dprintf(x...) + +#endif +