summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:42:13 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:42:13 +0100
commit4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch)
tree25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/emu/video
parent3a8ccb89b426509be06089a19c51ecf55567ed1b (diff)
reverting:
SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * 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 6ea77d2edb1..36c303eda42 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, std::string 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, const char *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, std::string tag, device_t *owner, UINT32 clock)
+vector_device::vector_device(const machine_config &mconfig, const char *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 f1fb3539708..9ec843b76fe 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, 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);
+ 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);
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
void clear_list();