summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/microdrv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/microdrv.cpp')
-rw-r--r--src/mame/machine/microdrv.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/machine/microdrv.cpp b/src/mame/machine/microdrv.cpp
index 20bda7df868..36406bd1bdf 100644
--- a/src/mame/machine/microdrv.cpp
+++ b/src/mame/machine/microdrv.cpp
@@ -43,7 +43,7 @@ const device_type MICRODRIVE = &device_creator<microdrive_image_device>;
// microdrive_image_device - constructor
//-------------------------------------------------
-microdrive_image_device::microdrive_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
+microdrive_image_device::microdrive_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, MICRODRIVE, "Microdrive", tag, owner, clock, "microdrive_image", __FILE__),
device_image_interface(mconfig, *this),
m_write_comms_out(*this)
@@ -131,11 +131,11 @@ void microdrive_image_device::device_timer(emu_timer &timer, device_timer_id id,
WRITE_LINE_MEMBER( microdrive_image_device::clk_w )
{
- if (LOG) logerror("Microdrive '%s' CLK: %u\n", tag().c_str(), state);
+ if (LOG) logerror("Microdrive '%s' CLK: %u\n", tag(), state);
if (!m_clk && state)
{
m_comms_out = m_comms_in;
- if (LOG) logerror("Microdrive '%s' COMMS OUT: %u\n", tag().c_str(), m_comms_out);
+ if (LOG) logerror("Microdrive '%s' COMMS OUT: %u\n", tag(), m_comms_out);
m_write_comms_out(m_comms_out);
m_bit_timer->enable(m_comms_out);
}
@@ -144,19 +144,19 @@ WRITE_LINE_MEMBER( microdrive_image_device::clk_w )
WRITE_LINE_MEMBER( microdrive_image_device::comms_in_w )
{
- if (LOG) logerror("Microdrive '%s' COMMS IN: %u\n", tag().c_str(), state);
+ if (LOG) logerror("Microdrive '%s' COMMS IN: %u\n", tag(), state);
m_comms_in = state;
}
WRITE_LINE_MEMBER( microdrive_image_device::erase_w )
{
- if (LOG) logerror("Microdrive '%s' ERASE: %u\n", tag().c_str(), state);
+ if (LOG) logerror("Microdrive '%s' ERASE: %u\n", tag(), state);
m_erase = state;
}
WRITE_LINE_MEMBER( microdrive_image_device::read_write_w )
{
- if (LOG) logerror("Microdrive '%s' READ/WRITE: %u\n", tag().c_str(), state);
+ if (LOG) logerror("Microdrive '%s' READ/WRITE: %u\n", tag(), state);
m_read_write = state;
}