diff --git a/src/mame/drivers/cdi.c b/src/mame/drivers/cdi.c index b89a14cac44..eaf19cdc3e7 100644 --- a/src/mame/drivers/cdi.c +++ b/src/mame/drivers/cdi.c @@ -35,7 +35,7 @@ TODO: #include "imagedev/chd_cd.h" #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 ) { @@ -44,7 +44,7 @@ INLINE ::void verboselog(int n_level, const char *s_fmt, ...) va_start( v, s_fmt ); vsprintf( buf, s_fmt, v ); va_end( v ); - logerror( "%08x: %s", machine().device("maincpu")->safe_pc(), buf ); + logerror( "%08x: %s", machine.device("maincpu")->safe_pc(), buf ); } } #else diff --git a/src/mame/includes/cdi.h b/src/mame/includes/cdi.h index 575931b127a..05c82116d62 100644 --- a/src/mame/includes/cdi.h +++ b/src/mame/includes/cdi.h @@ -68,7 +68,6 @@ public: DECLARE_MACHINE_RESET(quizrr42); 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); - INLINE void verboselog(int n_level, const char *s_fmt, ...); }; /*----------- debug defines -----------*/