summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/smartmed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/smartmed.cpp')
-rw-r--r--src/mame/machine/smartmed.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/smartmed.cpp b/src/mame/machine/smartmed.cpp
index e73cf0b0203..9ba88c447fe 100644
--- a/src/mame/machine/smartmed.cpp
+++ b/src/mame/machine/smartmed.cpp
@@ -72,7 +72,7 @@ enum
const device_type NAND = &device_creator<nand_device>;
-nand_device::nand_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
+nand_device::nand_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAND, "NAND Flash Memory", tag, owner, clock, "nand", __FILE__),
m_page_data_size(0),
m_page_total_size(0),
@@ -88,7 +88,7 @@ nand_device::nand_device(const machine_config &mconfig, std::string tag, device_
memset(m_id, 0, sizeof(m_id));
}
-nand_device::nand_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+nand_device::nand_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_page_data_size(0),
m_page_total_size(0),
@@ -779,7 +779,7 @@ void nand_device::device_reset()
const device_type SMARTMEDIA = &device_creator<smartmedia_image_device>;
-smartmedia_image_device::smartmedia_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
+smartmedia_image_device::smartmedia_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: nand_device(mconfig, SMARTMEDIA, "SmartMedia Flash ROM", tag, owner, clock, "smartmedia", __FILE__),
device_image_interface(mconfig, *this)
{