summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/driver.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/emu/driver.cpp
parent34161178c431b018cba0d0286951c69aee80e968 (diff)
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r--src/emu/driver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp
index 7d61c40e582..4afb6926adc 100644
--- a/src/emu/driver.cpp
+++ b/src/emu/driver.cpp
@@ -32,7 +32,7 @@ ADDRESS_MAP_END
// driver_device - constructor
//-------------------------------------------------
-driver_device::driver_device(const machine_config &mconfig, device_type type, const char *tag)
+driver_device::driver_device(const machine_config &mconfig, device_type type, std::string tag)
: device_t(mconfig, type, "Driver Device", tag, nullptr, 0, "", __FILE__),
device_memory_interface(mconfig, *this),
m_space_config("generic", ENDIANNESS_LITTLE, 8, 32, 0, nullptr, *ADDRESS_MAP_NAME(generic)),
@@ -578,7 +578,7 @@ repeated both in the upper and lower half
CUSTOM_INPUT_MEMBER(driver_device::custom_port_read)
{
- const char *tag = (const char *)param;
+ std::string tag = (const char *)param;
return ioport(tag)->read();
}