summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/sed1520.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-16 12:24:11 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-16 14:54:42 +0100
commit1f90ceab075c4869298e963bf0a14a0aac2f1caa (patch)
tree49984b30e3c6da6a0be068dbfcd02882bdafdc08 /src/devices/video/sed1520.cpp
parent34161178c431b018cba0d0286951c69aee80e968 (diff)
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/devices/video/sed1520.cpp')
-rw-r--r--src/devices/video/sed1520.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/sed1520.cpp b/src/devices/video/sed1520.cpp
index d868600595c..e2781a5b5e6 100644
--- a/src/devices/video/sed1520.cpp
+++ b/src/devices/video/sed1520.cpp
@@ -28,7 +28,7 @@ const device_type SED1520 = &device_creator<sed1520_device>;
// sed1520_device - constructor
//-------------------------------------------------
-sed1520_device::sed1520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+sed1520_device::sed1520_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, SED1520, "SED1520", tag, owner, clock, "sed1520", __FILE__), m_lcd_on(0), m_busy(0), m_page(0), m_column(0), m_old_column(0), m_start_line(0),
m_adc(0), m_static_drive(0), m_modify_write(false),
m_screen_update_func(nullptr)
@@ -141,7 +141,7 @@ WRITE8_MEMBER(sed1520_device::control_write)
m_page = 3;
}
else
- logerror("%s: invalid SED1520 command: %x\n", tag(), data);
+ logerror("%s: invalid SED1520 command: %x\n", tag().c_str(), data);
}
READ8_MEMBER(sed1520_device::status_read)