summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:35:11 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:35:11 +0100
commit7c9cd3feea638281df93381c5a7a871d79a7ba17 (patch)
tree1a857a2593c63a7ab3dee7eb248577701780f2e0 /src/emu/video
parent8193c47c1925d937acc80f043ea9eadac39fd791 (diff)
Revert "rest of device parameters to std::string (nw)"
This reverts commit caba131d844ade3f2b30d6be24ea6cf46b2949d7.
Diffstat (limited to 'src/emu/video')
-rw-r--r--src/emu/video/vector.cpp2
-rw-r--r--src/emu/video/vector.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/video/vector.cpp b/src/emu/video/vector.cpp
index b832a0d00c3..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, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname, std::string 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),
diff --git a/src/emu/video/vector.h b/src/emu/video/vector.h
index 38436047bee..f1fb3539708 100644
--- a/src/emu/video/vector.h
+++ b/src/emu/video/vector.h
@@ -37,7 +37,7 @@ 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, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname, std::string source);
+ 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();