some minor adjustments

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@304 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-11-25 13:39:05 +00:00
parent 71de3cd9bb
commit 7d0143a2de
10 changed files with 45 additions and 9 deletions

View file

@ -484,10 +484,11 @@ PICO_INTERNAL void z80_exit(void);
#define EL_ANOMALY 0x8000 /* some unexpected conditions (during emulation) */
#if EL_LOGMASK
extern void lprintf(const char *fmt, ...);
#define elprintf(w,f,...) \
{ \
if ((w) & EL_LOGMASK) \
printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__); \
lprintf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__); \
}
#else
#define elprintf(w,f,...)