summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video
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/video
parent34161178c431b018cba0d0286951c69aee80e968 (diff)
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/emu/video')
-rw-r--r--src/emu/video/vector.cpp4
-rw-r--r--src/emu/video/vector.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/video/vector.cpp b/src/emu/video/vector.cpp
index 36c303eda42..6ea77d2edb1 100644
--- a/src/emu/video/vector.cpp
+++ b/src/emu/video/vector.cpp
@@ -128,7 +128,7 @@ static render_texture *get_vector_texture(float dx, float dy, float intensity)
// device type definition
const device_type VECTOR = &device_creator<vector_device>;
-vector_device::vector_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)
+vector_device::vector_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)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_video_interface(mconfig, *this),
m_vector_list(nullptr),
@@ -137,7 +137,7 @@ vector_device::vector_device(const machine_config &mconfig, device_type type, co
{
}
-vector_device::vector_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vector_device::vector_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VECTOR, "VECTOR", tag, owner, clock, "vector_device", __FILE__),
device_video_interface(mconfig, *this),
m_vector_list(nullptr),
diff --git a/src/emu/video/vector.h b/src/emu/video/vector.h
index 9ec843b76fe..f1fb3539708 100644
--- a/src/emu/video/vector.h
+++ b/src/emu/video/vector.h
@@ -36,8 +36,8 @@ class vector_device : public device_t, public device_video_interface
{
public:
// construction/destruction
- vector_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- vector_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);
+ vector_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ vector_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);
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
void clear_list();