diff options
Diffstat (limited to 'src/devices/machine/x76f041.cpp')
-rw-r--r-- | src/devices/machine/x76f041.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/x76f041.cpp b/src/devices/machine/x76f041.cpp index a2927d8db59..21dea0ae141 100644 --- a/src/devices/machine/x76f041.cpp +++ b/src/devices/machine/x76f041.cpp @@ -27,14 +27,14 @@ inline void ATTR_PRINTF( 3, 4 ) x76f041_device::verboselog( int n_level, const c va_start( v, s_fmt ); vsprintf( buf, s_fmt, v ); va_end( v ); - logerror( "%s: x76f041(%s) %s", machine().describe_context(), tag().c_str(), buf ); + logerror( "%s: x76f041(%s) %s", machine().describe_context(), tag(), buf ); } } // device type definition const device_type X76F041 = &device_creator<x76f041_device>; -x76f041_device::x76f041_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock ) +x76f041_device::x76f041_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) : device_t( mconfig, X76F041, "X76F041 Flash", tag, owner, clock, "x76f041", __FILE__ ), device_nvram_interface(mconfig, *this), m_cs( 0 ), @@ -500,11 +500,11 @@ void x76f041_device::nvram_default() if( !m_region ) { - logerror( "x76f041(%s) region not found\n", tag().c_str() ); + logerror( "x76f041(%s) region not found\n", tag() ); } else if( m_region->bytes() != expected_bytes ) { - logerror( "x76f041(%s) region length 0x%x expected 0x%x\n", tag().c_str(), m_region->bytes(), expected_bytes ); + logerror( "x76f041(%s) region length 0x%x expected 0x%x\n", tag(), m_region->bytes(), expected_bytes ); } else { |