mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
some minor adjustments
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@304 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
71de3cd9bb
commit
7d0143a2de
10 changed files with 45 additions and 9 deletions
|
@ -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,...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue