This commit is contained in:
Miodrag Milanovic 2013-02-05 15:58:20 +00:00
parent 4404c86a52
commit 96d5e7fea3
2 changed files with 2 additions and 3 deletions

View File

@ -35,7 +35,7 @@ TODO:
#include "imagedev/chd_cd.h" #include "imagedev/chd_cd.h"
#if ENABLE_VERBOSE_LOG #if ENABLE_VERBOSE_LOG
INLINE ::void verboselog(int n_level, const char *s_fmt, ...) INLINE void verboselog(running_machine &machine, int n_level, const char *s_fmt, ...)
{ {
if( VERBOSE_LEVEL >= n_level ) if( VERBOSE_LEVEL >= n_level )
{ {
@ -44,7 +44,7 @@ INLINE ::void verboselog(int n_level, const char *s_fmt, ...)
va_start( v, s_fmt ); va_start( v, s_fmt );
vsprintf( buf, s_fmt, v ); vsprintf( buf, s_fmt, v );
va_end( v ); va_end( v );
logerror( "%08x: %s", machine().device("maincpu")->safe_pc(), buf ); logerror( "%08x: %s", machine.device("maincpu")->safe_pc(), buf );
} }
} }
#else #else

View File

@ -68,7 +68,6 @@ public:
DECLARE_MACHINE_RESET(quizrr42); DECLARE_MACHINE_RESET(quizrr42);
UINT32 screen_update_cdimono1(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); UINT32 screen_update_cdimono1(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
UINT32 screen_update_cdimono1_lcd(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); UINT32 screen_update_cdimono1_lcd(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
INLINE void verboselog(int n_level, const char *s_fmt, ...);
}; };
/*----------- debug defines -----------*/ /*----------- debug defines -----------*/