summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/ramdac.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/ramdac.cpp
parent34161178c431b018cba0d0286951c69aee80e968 (diff)
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/devices/video/ramdac.cpp')
-rw-r--r--src/devices/video/ramdac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/ramdac.cpp b/src/devices/video/ramdac.cpp
index b05cccfa10b..881870763f4 100644
--- a/src/devices/video/ramdac.cpp
+++ b/src/devices/video/ramdac.cpp
@@ -40,7 +40,7 @@ const device_type RAMDAC = &device_creator<ramdac_device>;
// ramdac_device - constructor
//-------------------------------------------------
-ramdac_device::ramdac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ramdac_device::ramdac_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, RAMDAC, "RAMDAC", tag, owner, clock, "ramdac", __FILE__),
device_memory_interface(mconfig, *this),
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 10, 0, nullptr, *ADDRESS_MAP_NAME(ramdac_palram)),
@@ -54,7 +54,7 @@ ramdac_device::ramdac_device(const machine_config &mconfig, const char *tag, dev
// palette device
//-------------------------------------------------
-void ramdac_device::static_set_palette_tag(device_t &device, const char *tag)
+void ramdac_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<ramdac_device &>(device).m_palette.set_tag(tag);
}