From 96d5e7fea38a52481b800c60694aff7c34238a69 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 5 Feb 2013 15:58:20 +0000 Subject: [PATCH] ups (nw) --- src/mame/drivers/cdi.c | 4 ++-- src/mame/includes/cdi.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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 -----------*/