summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/etc
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/mame/etc
parent34161178c431b018cba0d0286951c69aee80e968 (diff)
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/mame/etc')
-rw-r--r--src/mame/etc/template_cpu.cpp2
-rw-r--r--src/mame/etc/template_device.cpp2
-rw-r--r--src/mame/etc/template_device.h2
-rw-r--r--src/mame/etc/template_driver.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/etc/template_cpu.cpp b/src/mame/etc/template_cpu.cpp
index 3f85ad1dddc..f5161a71380 100644
--- a/src/mame/etc/template_cpu.cpp
+++ b/src/mame/etc/template_cpu.cpp
@@ -99,7 +99,7 @@ void xxx_cpu_device::execute_set_input(int irqline, int state)
}
#endif
-xxx_cpu_device::xxx_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+xxx_cpu_device::xxx_cpu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: cpu_device(mconfig, XXX, "XXX", tag, owner, clock, "xxx", __FILE__)
, m_program_config("program", ENDIANNESS_BIG, 8, 32, -1)
, m_data_config("data", ENDIANNESS_BIG, 8, 32, 0)
diff --git a/src/mame/etc/template_device.cpp b/src/mame/etc/template_device.cpp
index 8bc48c8e5de..503929bb90b 100644
--- a/src/mame/etc/template_device.cpp
+++ b/src/mame/etc/template_device.cpp
@@ -27,7 +27,7 @@ const device_type XXX = &device_creator<xxx_device>;
// xxx_device - constructor
//-------------------------------------------------
-xxx_device::xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+xxx_device::xxx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, XXX, "xxx_longname", tag, owner, clock, "xxx", __FILE__)
{
}
diff --git a/src/mame/etc/template_device.h b/src/mame/etc/template_device.h
index 409c9cb3ad3..7359d5ead4b 100644
--- a/src/mame/etc/template_device.h
+++ b/src/mame/etc/template_device.h
@@ -30,7 +30,7 @@ class xxx_device : public device_t
{
public:
// construction/destruction
- xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ xxx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// I/O operations
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/mame/etc/template_driver.cpp b/src/mame/etc/template_driver.cpp
index c233db1b6ba..0055b554c7f 100644
--- a/src/mame/etc/template_driver.cpp
+++ b/src/mame/etc/template_driver.cpp
@@ -16,7 +16,7 @@ Template for skeleton drivers
class xxx_state : public driver_device
{
public:
- xxx_state(const machine_config &mconfig, device_type type, const char *tag)
+ xxx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }